Added GM/Imagemagik integration
Moved imagemagick into its own file
Merge branch 'feature/gm' into develop