redirect server port and maintenance port in config.js
redirectPort and maintenancePort need to be configured
Merge pull request #347 from davecramer/master

move all ports into config.js 20295
Remove debug code.
Issue #19300 Change signature to use base64urlEscape and be compatible with Google.
Merge pull request #348 from bendiy/master

Change signature to use base64urlEscape and be compatible with Google.
Fix problem where option was being permanently screwed up because of assignments passed by reference.
Merge pull request #349 from jrogelstad/20212

Fix toJSON problem.