More unit test cases for extend and pubsub
Deprecating nbd/Events for nbd/event
ignoring vim temporary files
Adding more modules to build/all for unit testing
Modifications to Class for UglifyJS

Making sure that Class can be uglified properly.
The xyz variable is used to find out whether or not the JS engine
supports function decompiling. UglifyJS will try to optimize that away
unless we make it a global.
Media module fires the wrong event due to ternary

Ternary should be on this.matches, not breakpoint + this.matches
Merge pull request #7 from Aintaer/master

Additional cleanup and bugfixing