Rewrote to handle tokens generated by CoffeeScript

Didn't handle a case where CoffeeScript may generate new tokens into the
Lexer, thus returning false when the next token was not '.' even though
it was.

See first test case added for an example.

Second test case written to handle sub multi-chained commands. Not
related to described problem above.