VE-1421: Search functionality for template dialog

https://wikia-inc.atlassian.net/browse/VE-1469
https://wikia-inc.atlassian.net/browse/VE-1421