fixed emitter mem leaks, added support for catching undefined routes, removed undefined route being pushed to routes array
Merge branch 'master' of github.com:jwerle/pineapple
removed unneeded stuff