override origin with options.origin param
Add optional extra payload for assertion
Split off RP Parameter validation into its own module.

* Called validate_rp_params.js

Conflicts:
	lib/static_resources.js
	resources/static/dialog/js/modules/dialog.js
	resources/views/test.ejs
Move RP parameter validation tests into validate_rp_params.js

Conflicts:
	resources/static/test/cases/dialog/js/modules/dialog.js
	resources/views/test.ejs
Extract method on rp parameter validation into validateRpParams and kpi publishing into publishKpis.

siteLogo URI tests are broken -- committing any b/c not sure if they worked in orig; will fix before pushing

Conflicts:
	resources/static/dialog/js/modules/dialog.js
validateSiteLogo() back in place and working; need to re-port test refactor
refactor siteLogo tests
Bring in cleaner commit history for validate_rp_params and loosen siteLogo restrictions
_.indexOf for IE8
fix jshint warnings in automation-tests/scripts
grandfather use of foo["bar"] in lib
fix leak to global of wsapi
fix annoying Missing semicolon warnings
use strict equals
remove unused variables
hoist shared counter that is always reinitialized
don't reuse variable
the loopfunc warning is not useful here
grandfather use of foo["bar"] in ./pages
grandfather use of foo["bar"] in ./tests