[TASK] Refactor tests to support testing compiled javascript

Rather than hard-coding the paths to source scripts in each test file, we access everything through the top-level interface of ripple-lib. There is a symlink from test/node_modules/ripple-lib to src/js/ripple so that it can find the source files. This symlink can be redirected to a compiled javascript file.