Moved left curly braces to the ends of lines of code

https://issues.openmrs.org/browse/GCI-9