Merge branch 'thepug' into loe

Conflicts:
	README
	src/web/ejabberd_http_pre_bind.erl
	src/web/mod_http_pre_bind.erl
whitespace
changes for compatibility with ejabberd community version

ejabberd_http_bind:make_sid() only exists in v3alpha
replace #xmlstreamelement{} with the corresponding tuple
exmpp_xml:element -> #xmlel{}
exmpp_xml:attribute() -> {}
NS_HTTP_BIND_b -> NS_HTTP_BIND
build session auth stanza manually
replace #xmlcdata{} with tuple
mimic mod_http_bind.erl for Heading construction
exmpp_jid -> jlib
implement selected_mechanism to remove exmpp dependency
fix README version
CORS headers
off by one error

bind module was waiting for a missing request
update module name sha to current p1_sha