When bamboo is running in a context (path), use it when getting urls
Added tests for path prefixes
Merge pull request #11 from vStone/master

When bamboo is running in a context (path), use it when getting urls