Added functionality to pass search data as an array

1. We may not always need ajax fetching of search data.. I have created
provision for passing it as options.
2. Fixed a small typo in results template ( changed {desc} to {title} )