fixes to trunk 3991
(cherry picked from commit 106cab3401a3c434ab3054363a8af9315705600f)
TRUNK-3992: PersonByNameComparator should be case-insensitive
TRUNK-3811: On successful save of Concept one should go to View Concept Screen
(cherry picked from commit a3959ec9d89fd68271800dd7ac4879e192dd8fab)
TRUNK-3811: On successful save of Concept one should go to View Concept Screen
(cherry picked from commit b6312e4c00788a1657410b4f5d28069e0e1d7814)
TRUNK-3811: On successful save of Concept one should go to View Concept Screen
(cherry picked from commit 85129fe7db67ca15a60e6303482cc091196b7c13)
TRUNK-3811: On successful save of Concept one should go to View Concept Screen
(cherry picked from commit cec2f0db75e73fa898bacbded691560c42210684)
Revert "TRUNK-3811: On successful save of Concept one should go to View Concept Screen"

This reverts commit b449b95d057ce4813697b67fd1959d3da3fe0356.
Back porting to 1.9.x: Home Key doesn't work in the search boxes -
TRUNK-3220
Back porting wyclif's changes for including tests to improve the logic
for selecting the preferred name - TRUNK-3232
Trunk-3839: Support for future dates in jQuery calendar

Follow up to remove stray alert message - TRUNK-3829
(cherry picked from commit 923e6abf4d2754b27b976a86dce14cdde3283b3a)
TRUNK-3829: Code improvements for calendar.js
(cherry picked from commit 79237cd1c48e12186ae8e00a2fbd93ff1b162522)
TRUNK-3811: On successful save of Concept one should go to View Concept Screen
(cherry picked from commit cec2f0db75e73fa898bacbded691560c42210684)
OpenMRS crashes irrecoverably if particular errors occur during module loading  - TRUNK-2850
(cherry picked from commit 860a84e99e844792afc856b586dffb3f203b10a7)
Not started required modules error message should not include modules
that are already started - TRUNK-3999(cherry picked from commit b598f281edf6c17fd54ce83dacd9fcfe14516b77)
Retired Visit types should be available for selection on the New Visit form - TRUNK-3370
Retired Visit types should be available for selection on the New Visit form - TRUNK-3370
Applying auto format changes