Fix up the url construction

1. Make sure the path derived from the method call doesn't have leading /
2. Make sure the base URL is normalized to have a trailing /
Add test cases for remote endpoints that have a path prefix
Remove the dead comment
Rename the confusing methods
Merge pull request #6 from strongloop/feature/fix-url

Fix up the url construction