Replaced function calls to `curl_request` with Eson client
Moved create index rake task outside the template namespace

* create index rake task does not upload template anymore
Task added to just upload a template

A rake task added to upload a template, it can be stored under a custom name or if left blank defaults to template name.
Started to log rake task actions
Rake tasks log their actions to stdout
Removed unused function
Merge pull request #17 from Asquera/refactor-index-creation-task

Refactored and split create index rake task
Merge branch 'master' into feature/yaml-include-external-files

Conflicts:
	lib/elasticsearch-rake-tasks.rake
Replaced logging with stdlib logger facility

* custom logger can be used and set, e.g. `Elasticsearch.logger = MyLogger.new`, defaults to STDOUT
* renamed logging helper function
Merge pull request #18 from Asquera/rake-tasks-logging

Rake tasks logging
Merge branch 'master' into feature/yaml-include-external-files

Conflicts:
	lib/elasticsearch-rake-tasks.rake
	lib/elasticsearch-rake-tasks.rb