Initial refactor to break data.py into separate files
Added legacy support for tile conversion.

Also fixed bug which made the tiled raster versions smaller then
the raster being converted.
Merge pull request #489 from lossyrob/topic/importer

Refactor of data.py into python package