Installs rewire from npm and use it to test functions in sanitize.js Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220