Working unit- and e2e testing

Relocated- and updated test running scripts to use karma.
Updated related files (e.g. bower.json, readme.md) accordingly.
Added examples for both unit- and e2e testing.