URL escape next_url

Allows cfoundry to fetch second page when using timestamp>(date)
Merge remote-tracking branch 'origin/master' into fix_events_pagination
Merge pull request #111 from cloudfoundry/fix_events_pagination

Fix events pagination