Corrected bugs and added new features

- Corrected a bug in the calls to Block::Intersects(int D0, int D1)
both in image manager and volumemanger
- Corrected a condition in mdatagenerator
- Added fflush after writes in resume.cpp
- Allowed saving 2D series with depth of 16 bits
- Saved the reference system in the XML file in terastitcher
- Added volumeconverter static library (in utils)
- Added teraconverter utiliy (in utils)