[FIX] Inconsistent escaping of URIs in the API
Merge pull request #31 from guyzmo/master

fix inconsistent URIs in the API