Merge pull request #3 from hpence/develop

trygin tot get this to work...
building up unit tests.
Got rid of magic number in BuildDestinationUri
Replaced a custom exception with built-in type
Moved parsing exception throw to lower level function, where it should be.
Improved tests. Some code refactoring
2 unit tests for BuildDestinationUri.