parser fixes: remove duplicates, ignore comments, stop at references
import all the things and fix dumb comment bug
Added tests (failing now)
Adjusted Parser, added unit tests
Merge branch 'parser'