set the default data class automatically
Merge branch 'master' into imagine-cache-invalidator-listener
improve image type and invalidate imagine cache