Need to use toString check for strings.

typeof new String("foo") === 'object'
Merge pull request #4 from matthewp/master

Special case using the String constructor