Properly encode location URI.
Use local dependencies.
Merge pull request #3 from vitillo/master

Properly encode location URI.