Bug 910339 - Linting E.me code [r=crdlc,ranbena,evyatar]

* replaced all double quotes with single quotes
* added EOF new lines
* added curly braces around blocks in loops and conditionals
* fixed line breaks at 80
* fixed indentation issues
* fixed missing/unnecessary semicolons