I had a use case where I wanted to do a search without having an explicit input box. So I added an API for it.
Also, added an API to get number of matched results based on fork at ruiz107@f78dc44
Implemented the fix of "val is empty but this.val is not" as explained on fork at michaellwest@4ace400
Also changed the method for binding selectors to use .on instead of .bind.
Added APIs for initiating search programatically, count of matched re…
…sults and fix for sync-ing val global.