fixed syntax errors in the configuration examples
fixed invalid attribute name in the server-side configuration example
Removed the register() function, do the compiling automatically in init() and let the user handle the registering of files
refactored the components to get rid of the "mode" attribute. The desired 
compiler is now specified using it's class path. The run() method is now run 
automatically when the component is loaded.

TODO: Update README.md
Merge branch 'refactor'