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
Merge pull request #3758 from fmarier/update_winchan

Update winchan
make this tool work with Opera Blink, and with B2G (by adb-pulling the webappsstore.sqlite database to local disk)
brain cramp; I was thinking of 0.6 vs 0.8 for os.tmpDir
Add missing function from upstream winchan

We don't need this extra function and it will make the minified
include.js larger by 870 bytes (262 bytes after gzip).

However, this increase the maintenance cost and makes it more
likely that someone updating our version of winchan (for example
to fix a security bug) will miss the other copy of it. I made that
mistake and was lucky that @jrgm caught it. I propose we only
have one copy of winchan in the repo.
Remove duplicate copy of winchan

The script that creates include.js will now use the copy of
winchan that's in common/js/lib/ and used by the dialog.