Search Template - parse template if it is provided as a single escaped string. Closes #8308

- Search template is correctly parsed if it is provided as single escaped string
- Ignore exceptions in case of second parsing of template content (assuming it is escaped template string content)
- New tests for relevant use cases

Conflicts:
	src/main/java/org/elasticsearch/search/SearchService.java