Inline template support

Added support for extracting text from inline templates. Sorry for the cascading commits. The "Extracts strings with quotes" test fails on this without changes in other PRs.