fix issues with newlines in comments not being skipped

newlines should be treated as whitespace when newlines_whitespace is
true
fix remaining parser errors

fix issues regarding whitespace treatment in do blocks.
fix typo in parse_chains function.
add regression test for newline treatment in tuples with comments, general cleanups
test all source files in installed packages