Fixed caching and unit tests
Python3 fixes, unit test fixes
Improved  error messages and exception handling.

Print line numbers for Chunks
Show errros from chunks, but continue executing the document.
Fixes #4