Fixed up comment lexing and parsing
Improvements to type parsing

Parsing types, particularly variable declarations, was actually quite a bit more complex than what was actually supported.  I believe everything is now working more as expected.

To test this properly, I had to fix a bug related to defining functions in the current module.  Kudos to Kyle Bolton (@kb, @bolton) for finding this first and fixing it locally.