Added tests
Moved Image2D<->Bitmap conversion to common lib
Added .XYZ file writing and reading support