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

(cherry picked from commit a47d42ebf0fdea8084ff8c42e26591de05efa962)