HTML-515 Add support for drugOrder in OpenMRS 1.10

It's work in progress. Please do not merge. In order to test these changes you need to build 1.8.x and 1.10.x branches with this patch: https://github.com/openmrs/openmrs-core/pull/499/