added JsonFormatter class and tests
bulk method now executes all operations
Refactoring Connection::updateMapping method
Removed unused variable, closes #48
Merge pull request #49 from martiis/issue_48

Removed unused variable
Added delete case in switch in bulk method
changed TestHelperTrait namespace
Fixes for Elasticsearch 1.4.x
AbstractResultsIterator::current() returns null if no documents are found
fixed a bug that ignored the zero value to the min_doc_count option
added nested aggregation
added nested_aggregation unit test
Created json files for JsonFormatterTest
Merge pull request #44 from martiis/bulk_check

bulk method now executes all operations
Merge pull request #47 from martiis/mapping_refactor

Refactoring Connection::updateMapping method
Merge pull request #50 from martiis/es_14x

Test fixes for Elasticsearch 1.4.x
Merge pull request #37 from martiis/json_formatter

added JsonFormatter class and tests
Range aggregations test fix
Connection remove mapping test case
Merge pull request #57 from linasmo/mapping_update_test

Connection remove mapping test case