Fix setting shard timeout

It was accepting the value but doing nothing.

Closes #547
Merge pull request #548 from nik9000/fix_bulk_timeout

Fix setting shard timeout
Update changes.txt with change #547
Add aggregations
Merge pull request #550 from jlinn/aggregations

Add aggregations
Updated to Elasticsearch 1.0
Changes.txt to elasticsearch 1.0 adapted
Prepared release v1.0.0.0
Update dependencies in README file
Moved from Apache license to MIT license
Elastica\Aggregations\Terms - methods setSize and setShardSize
Elastica\ResultSet - hasAggregations() method - check if aggregations exist in result set
Global/Aggregation - empty array is retuned in JSON as [] insetad of {}
Aggregation\GlobalAggregation - unit test
Aggregation\GlobalAggregation - unit test
update chanches.txt
update chanches.txt
update chanches.txt
Merge pull request #552 from krzaczek/master

Aggregations
throw PartialShardFailureException if response has failed shards