Use testem as test platform

The lib directory is now renamed to src to reflect other packages, like whynot.js.

Also replaced karma with testem, mocha and chai.