TRUNK-4427: Path to modules folder is incorrect
TRUNK-4518 - Calculate autoexpire dates for revise action as well

Add integration test to confirm autoExpireDate set on revised order

Reformarting and cleaning imports
TRUNK-4519 - Subtract a millisecond from a date when calculating end dates

Remove unnecessary test. Following tests cover this functionality well.

saveOrder_shouldNotChangeTheAutoExpireDateIfItHasATimeComponent
saveOrder_shouldRollTheAutoExpireDateToTheEndOfTheDayIfItHasNoTimeComponent

Fix tests

Change date format from hh-mm-ss to hh:mm:ss

Move reducing one millisecond to SimpleDosingInstructions
TRUNK-3826: Bug in PersonAttribute.compareTo

Follow to Bug in PersonAttribute.compareTo - TRUNK-3826

Conflicts:
	api/src/main/java/org/openmrs/PersonAttribute.java
Merge pull request #1026 from pmuchowski/TRUNK-4427

TRUNK-4427: Path to modules folder is incorrect
TRUNK-4350: OpenmrsClassLoader may chose wrong ModuleClassLoader when one module name is a substring of another module name and there is a period in the name
(cherry picked from commit 9534cdb4feebf764e4c9501342369ad62bf1b45b)