Added UrlBuilder class

Added source code that passes the unit tests. Minor modifications to
tests.