Add zlib inflated data size limit
Send policy-violation error when zlib size limit exceeded
Fix formatting and binary_to_existing_atom encoding
Also replace keysearch with keyfind in c2s
Merge pull request #167 from esl/zlib_cwe400_fix

Add zlib inflated data size limit
Patch for SASL SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196)

Works with internal (mnesia) storage.

Conflicts:
	apps/ejabberd/src/cyrsasl_anonymous.erl
	apps/ejabberd/src/cyrsasl_digest.erl
	apps/ejabberd/src/cyrsasl_plain.erl
	apps/ejabberd/src/ejabberd_c2s.erl
	src/ejabberd.app
	src/ejabberd_auth_ldap.erl
	src/ejabberd_auth_pam.erl

Fix and improve support for SCRAM auth method (EJAB-1196)

Conflicts:
	apps/ejabberd/src/ejabberd_auth.erl
	apps/ejabberd/src/ejabberd_auth_internal.erl
	rel/files/ejabberd.cfg
	src/ejabberd_auth_ldap.erl
	src/ejabberd_auth_pam.erl
	src/ejabberd_piefxis.erl
adjust SCRAM related changes to Mongoose
change place from auth_failed hook is run
small performance improvements in jlib
store scrammed passwords in database