Merge pull request #17 from arjan/master

Upgrade hackney to 0.11.1
update hackney and jsx deps
add license
New hackney return type
Same as in normal case is same function.
Merge pull request #20 from anha0825/master

New hackney return type
added support for creating mappings
Merge pull request #21 from inaka/mapping

Added support for creating mappings
Add _stats call.
Merge branch 'master' of github.com:tsloughter/erlastic_search

Conflicts:
	src/erlastic_search.erl
Remove empty spec attribute from doc, crashes edoc.
Delete index
Merge pull request #22 from anha0825/master

Add _stats call