Ported using LIKE in SQL query from dev branch

Merge pull request #232 from Wikia/MWEB-700
MWEB-700 Use LIKE in SQL query to find map templates