Updated pull request for adding titleid and textid support in TiShadow.

I changed source code and moved regexps to cli/support/compiler.js. I also updated them: now only titleid and textid will be matched.