Adding template regex search and some generic functions

Fuck yeah. Template search..
- Takes a single regex string
- Searches all custom templates for that string
- Processes all searching in a web worker to avoid additional page reloads
- Highlights templates where string was found