Document parser structures and procedures.

Documents most of the structures and procedures in the compiler's parser module.
The procedures I didn't add comments to already had the grammar rules as comments.