Merge pull request #1078 from jkondrat/master

TRUNK-3675 Cache results from getSearchLocales()
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-3675 Fixed CannotLoadBeanClassException when using OpenMRS Installation Wizard