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

This commit includes only 'cosmetic' changes that do not affect the code:
* replaced all double quotes with single quotes
* added EOF new lines
* added curly braces around blocks in loops and conditionals
* fixed indentation issues
* fixed missing/unnecessary semicolons