Fix style errors.

error file=/home/sloan/workspace/beyond/core/app/beyond/engine/javascript/lib/ScriptableConsole.scala message=If block needs braces line=21 column=4
error file=/home/sloan/workspace/beyond/core/app/beyond/engine/javascript/lib/ScriptableConsole.scala message=If block needs braces line=30 column=4
error file=/home/sloan/workspace/beyond/core/app/beyond/engine/javascript/lib/ScriptableConsole.scala message=If block needs braces line=39 column=4
error file=/home/sloan/workspace/beyond/core/app/beyond/engine/javascript/lib/ScriptableConsole.scala message=If block needs braces line=48 column=4
error file=/home/sloan/workspace/beyond/core/app/beyond/engine/javascript/lib/ScriptableConsole.scala message=If block needs braces line=57 column=4
Change message to val instead of var.
Fix bugs when saving the document with no change in data.

Currently, ScriptableCollection.save method requests update of the document
even though there is no changed data. It causes no error on Linux, but causes
an error on Mac OS X.

This patch makes ScriptableCollection.save method requests update only when
there is a change in data.
Sort scriptable classes array in BeyondGlobal.scala

To avoid conflict in the future.
Implementing...
Indexed