Merge pull request #258 from nutsiepully/1.9.x

Plugging in dependency on javax.validation api JSR-303 definition.
formatting
TRUNK-3944: Incorrect mockito, hamcrest and junit dependencies
(cherry picked from commit 11ba1107fda8d88cf295456e05ff4a89a0b7b785)
TRUNK-3944: Updated junit to 4.11 and fixed tests
(cherry picked from commit 117174655d5e01e1d19b5815c8dd3bcde113c8f0)
TRUNK-3944: Created OpenmrsMatchers
(cherry picked from commit dd5368ce3bc73db24dcfbdcdc9bd0e11e94b683e)
TRUNK-3772: Should be able to define EncounterVisitHandlers as spring beans
(cherry picked from commit 9026fc5ea13121af8a688a2fb80adc2f540bf1e6)
TRUNK-3772: Post review fixes
(cherry picked from commit 179d5419589ca6951bfba52c6d6380038dff5bf4)
TRUNK-3142: Fixed LocaleUtility to work with JDK 7
TRUNK-1: Testing Bamboo and JIRA integration!
Testing Bamboo and JIRA integration!
TRUNK-3949: Do not commit with validation errors
TRUNK-3949: Fixing build
TRUNK-3949: Removed flushing from WebTestHelper
TRUNK-3952: Enable openmrs:require tag attribute value expressions
(cherry picked from commit 86d872ee7cf211d57295505cf008e5f61eb78ce8)
Program state change displays wrong date in IE8 TRUNK-3482
(cherry picked from commit 6d2df202326977c1ad3e19be4f59ece57f12b2a8)
TRUNK-3904: Concept(Integer) constructer doesn't call this()
TRUNK-3142: Made isValid to be more permissive
TRUNK-3944: Downgraded powermock and mockito due to OOM issues