Added QUnit testing framework with sample + travis-ci

See #24 .