upgrade tire so "match" queries can be used with ES 1.x

@gwprice @sefk 

0.5.0 contains the fix we need, and 0.5.2 has a bugfix that specifically affects libraries we are using, so went with the latter.

@sefk able to test this out on your instance?