encode URI params.

This fixes the error of an malformed URL when a :param has empty spaces.

For example, having /api/:param/ with param="a b" will generate the request
"GET /api/a b  HTTP/1.1" and the target application will read as url the value
"/api/a".
When requesting the Access token from the token URL via the authorization-code flow, the initial referer is stored in redis. The specified referrer_uri when making the token call should be the same as the intially set referrer (/oauth2Success/). A provider doing a check on the referrer will reject token request
Merge pull request #111 from brightbot/master

Invalid redirect_uri in token request
Update documentation to answer questions from issue #112 & issue #118
Merge pull request #140 from mtougeron/issue-112

Update documentation to answer questions from issue #112 & issue #118
Allow you to change the redis db name in the config. Fixes Issue #40
Merge pull request #80 from darkrho/encode-uri-params

encode URI params.
Merge pull request #141 from mtougeron/issue-40

Allow you to change the redis db name in the config. Fixes Issue #40