Add helper methods, more debug output

Added exception catching when trying to read two bytes for the position and length of a bit of data.
Add documentation about helper functions
Initial Commit

Automated test of the functions in the yaz0 module.