fixed spelling error in README
check if token occurs at start of input or start of word
updated specs to expect-format instead of should-format that rspec is deprecating