Remove unneeded script tags.
Fix bug: readFile should be able to return strings too now.
Use manifest.json instead of manifest.js

The manifest.json files are generated automatically from the sources by the script updateJS.js, which also runs JSLint.
Dependencies are stored in manifest.json now. This allows the loading of modules to be more efficient, since all the required modules can be determined before loading.
Generate list of JavaScript files in CMakeLists.txt.
Some types needed to be fixed due to the new file order.
Fix JSLint issues and add more documentation.
Disable build failure when the generated CMakeLists.txt changes.
This should be eventually be fixed and re-enabled.
Merge pull request #223 from vandenoever/asyncmods

Generate manifest.json and CMakeLists.txt from the JavaScript sources.
Don't synchronize browser & WebODF selections unnecessarily

The window selection only needs to be synchronized with WebODF on a
mouse down operation. In all other cases, the selection doesn't need to
be maintained. Removing the selection most of the time significantly
helps performance as there is heavys costs to modifying part of a DOM
tree that is selected.

In order to allow cut/copy to continue to function, an event trap was
necessary that "holds" the selection after mouse-up. This is set as
content editable to allow the cut/copy events to be fired in Firefox and
Safari.