Rewrote all the testing code and added Travis-CI

I couldn't get all the tests to pass. With CI we'll be able to stabilize the project. Please enable Travis-CI for the project at https://travis-ci.org and add build-status indicator to the README.

Example CI run: https://travis-ci.org/justcoin/bitcoinjs-lib/jobs/16766521