Added search form to templete
Added search form to template
Added new search wrapper methods
New search logic. Save/historical. limit, order_by, offset actually work now too.
Added search filter to controller for save/history actions