Set up karma and npm

Added karma runner and set up traceur preprocessor. I was not aware of the preferred testing strategy, so I tried to keep test simple.