Added the possibility to add the state parameter to the redirect URI

This library requires the usage of the state parameter.
According to RFC 6749 the state parameter is not required and some
providers do not support it.
See: http://tools.ietf.org/html/rfc6749#section-4.1.1
Therefore I added the possibility to append the state parameter to the
redirect URI.