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

(cherry picked from commit ee0d7cafb2816d3a216651c3efb607dc4b28cae0)