Don't sanitize mysql password when updating from setup

Or any of the other mysql configuration items for that matter... it's irrelevant if HTML tags or characters make their way into these config vars.

Fixes #842
Merge pull request #869 from zenphoto/database-sanitize-fix-842

Don't sanitize mysql password when updating from setup
deprecated functions handling
Merge remote-tracking branch 'upstream/master' into upstream

Conflicts:
	zp-core/setup/index.php