Use rspec and fix percolations for elasticsearch 1 dot 0

Fix percolation for ElasticSearch 1.0+ (re: http://www.elasticsearch.org/blog/percolator-redesign-blog-post/), switch test framework to rspec.