Added caching to typehead component

To prevent repeated query in case of ajax and then parsing the data for the array of added simple caсhe.