Update travis to elasticsearch 1.2.1
Disable Thrift plugin as not compatible with es-1.2.1
Enable dynamic scripting as it is disable by default in 1.2.1
Allow bulk actions to have routing

The elasticsearch bulk API allows for each item to have a routing value
which helps prevent bulk actions from being broadcast to all shards.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-routing
Allow the passing of a routing value for `deleteIds()`

If all ids to be deleted during a bulk API request are routed to the same
shard allow that routing value to be set so that the delete command is not
broadcast to all shards.
Update changes doc
Fix IpRange tests by adding fix for CIDR check.
Fix FunctionScore tests as random scores are now rated in directly.
Merge master into es-1.2.1
Code cleanup
Merge pull request #631 from xyu/route-bulk-actions

Allow routing of bulk API actions
Merge conflict with changes.txt
Merge branch 'es-1.2.1'
Merge some of update by document and script

These share many of the same options so it makes sense to merge them.
This also adds support for things like _retry_on_conflict and _routing to
updates by scripts.

Closes #628
Closes #627