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
Merge pull request #3743 from mozilla/issue_3705_siteLogo_URIs

Issue 3705 site logo ur is