Refactor for 0.10

This is pretty much rewrite of the plugin to:
- work with Karma 0.10+
- catch adding new files
- less dependency on Karma internals
- more efficient

Also closes two issues: #11, #12