Fixed broken parsing in Ruby 1.8.7

Ruby 1.8.7 has Ordered Hashes which was incompatiable with Ruby 1.9
onwards. The only solution was to use an array of arrays and it seemed
to be a more suitable choice as well (we weren't actually making any
use of hash keys).
Also, added accessor elements for query parameters and added more
information to statistics section in result.erb

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>