Trims trailing whitespace.

Pedantic, I'm aware, but most editors do this automatically.  Submitting
this in a separate commit will make future diffs more legible.
Adds 'Building from source' section.
Adds PhantomJS test runner.

Allows for easy command line test execution, where the exit code will
inform of the result.
Adds travis test runner.
Merge branch 'test-runner'
Merge branch 'travis'