OpenMRS crashes irrecoverably if particular errors occur during module loading  - TRUNK-2850
NonUniqueObjectException: a different object with the same identifier
value was already associated with the session: [org.openmrs.Patient#] -
TRUNK-3728

Applying auto format changes - TRUNK-3728
Applying auto format changes
TRUNK-3979: LoggingAdvice should also log which user is performing an action when an error occurs

Null check and taking systemId if username is empty

User null check

Fix of code duplication
Search for patient by identifier fails when identifier is made of only
letters - TRUNK-3822

Follow up - TRUNK-3822

Follow up to fix some issues - TRUNK-3822

Fixed patientService.getPatientCount method - TRUNK-3822

Follow up to fix failing unit test - TRUNK-3822

Apply auto format changes and fixed HibernateEncounterDAO - TRUNK-3822
fixes to trunk 3991
Merge pull request #316 from surangak/TRUNK-3991

fixes to trunk 3991
Merge pull request #311 from wluyima/TRUNK-2850

OpenMRS crashes irrecoverably if particular errors occur during module loading  - TRUNK-2850
Merge pull request #315 from bhashitha/TRUNK-3980

TRUNK-3980: Add back button support for patient search page