Making inventory search work.

* Used AJAX to populate input select.
* Had inventory page render different partials according to
selected search type.
* Had inventory controller search for different results
according to search type.