Merge pull request #14 from MaulingMonkey/master

TypeScript rewrite
Pull DOM manipulation code into classes and it's own typescript module.
Bump manifest version to 0.4