Disable image when disabled

Previously, when phpcr was enabled, but image disabled, the executing will
fail because cmf_core.image_enabled did not exists.
Merge pull request #74 from WouterJ/fix_imagedisabled_bug

Disable image when disabled