Improve logging

Removed custom log formatter.
Put logging utilities in separate file.
Make utility function for opening GDAL raster

Proper error handling for GDAL rasters is a little bit manual.
It is now done in a new utility function.
Start working on sample script

Work in progres...