Add unit testing to transit.

Also add setters in TransitOptions, and helper function in base GWT unit test class.