New approach for frontend javascript in modules

I'm trying to establish a standard for frontend javascript for my
modules (in future)
- no global variables
- everything module related happens in own namespace
- but modules can use methods and properties from other modules
- try to implement a universial solution for loading jQuery on force if
it's not in the settings from PHPWCMS, so I don't have to worry about
the loaded library.