add line numbers to nodes when parsing

closes #691
Merge pull request #692 from fivetanley/line-numbers

add line numbers to nodes when parsing