Raise ValueError when iteration hits a truncated line rather than silently exiting.
Add testing to truncated file iteration.
fix wrong flag size, closes #49
Merge branch 'pysam-0.8.1' of github.com:pysam-developers/pysam into pysam-0.8.1
Merge pull request #50 from cmclean/master

Raise ValueError when iteration hits truncated line rather than silently exiting
Merge branch 'master' of github.com:pysam-developers/pysam into pysam-0.8.1
bugfix - char from temporary string object
added unit tests for testing different region strings