Many changes since late last week

Added imagecube/tests/test_imagecube.py
Revised how log file works.
Changed output datacube back to true 3D cube rather than multi-extension 3D format.
Allow imagecube to be run from command line or interactive from within Python.
Fixed some issues with WCS handling.
Few minor changes to main imagecube (functionality should be unchanged).