Code cleanup and de-"clever"ification for mustache_helper.js

* fixed indentation
* consistent spacing "if (", ") {", "function ("
* explicit return statements, esp. for "!f()" at the end of a function
* a && b -> if (a) b

Also simplified and separated the "firstexist" and "firstnonempty" helpers from a can.each loop, so IDEs could pick up their definitions.

Commented several helpers.

Only style, no functional changes.
We[0] don't have a space before the function parameter list and neither does google[1].

[0] https://gist.github.com/danring/631a43980245e680f6ec#operator-spacing
[1] https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=Code_formatting#Code_formatting