Modified components to return nullable objects (this was already used in several places); a null return value from a component is not representing an error - this is actually just an additional state (errors are handled using exceptions).
Fix handling of columns containing only NULL values (fix stats query; skip histogram computation); this fixes #260, #249