refactor javascript

remove deprecated jq()
add delegated event handlers
improve event handling
cleanup JS
Update CHANGES.rst
Merge pull request #2 from petschki/master

JS cleanup in template
Merge branch 'master' of git://github.com/plone/plone.app.viewletmanager
list of uncaught exceptions is extensible, unauthorized is not by default