Add search functionality to pied piper

Add transaction script for search

Add search controller on rails side

Make search work on front-end in terms of data.

Search returns more data

Use OpenStruct to avoid 'table' property in json

Finish basic search functionality

Make the search page more robust