Don't highlight `.to` unless it is after a period

Previously, the word `Factory` would have `tory` highlighted. This
prevents any `to` highlighting from occurring unless the word `to` is
after a period.

Unfortunately, this also highlights the period itself.
Merge pull request #18 from venables/jasmine-syntax-to-fix

Don't highlight `.to` unless it is after a period.