Sorted out code a bit and filled out resizing

Separated helper methods and constants into their own files/classes.
Also nearly finished abstracting hdiutil resize functionality, a
disk-image associated with the object can now be resized by simply
reassigning the value in DiskImage.size