Add web tests

Use testling to run the tests in a browser.

Fixes #3
Start a display server when running tests on travis ci to support Testling
Merge pull request #20 from bripkens/browser-tests

Add web tests