[PATCH 2/4] redmine #3451: replace constantize with slightly more restrictive method to load activerecord model from metadata_object