Throw a `TypeError` if trying to parse something not a string.

It makes no sense to parse something that isn't a string, so include checks for it, lest the user sees some obscure error about `indexOf`.
Merge pull request #1 from izaakschroeder/parse-fail-no-string

Throw a `TypeError` if trying to parse something not a string.