TRUNK-3644 Define which resources to load for module based on OpenMRS version

This is work in progress. Do not merge yet.