Right curly braces beginning of line

A pull request with reference to GCI-9 task.
Fixed major issue Right curly braces should be located at the beginning of lines of code.
This is accomplished after hours of annoying work with git.
Thanks to dkayiwa and harsha89 for the help.
@pwmvx1289 Can you add message as follow
https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/impl/AdministrationServiceImpl.java#L861

log.debug("Descriptive error message",  e);

Because we have to log something to indicate exception to the person who finding the issues