Start using tests using qunit.

Also set up a Route type with Point as a sub type