Replace URI.unescape with CGI.unescape

This addresses the following Ruby warning:

```ruby
warning: URI.unescape is obsoleted
```
Merge pull request #366 from mikeastock/replace_uri_unescape

Replace URI.unescape with CGI.unescape