error checking enhancements

* run bash with -e flag to cause program to halt on errors. This has
the potential to generate some false positives, which we need to watch
for.
* run bash with -u flag to cause program to halt if we attempt to use
an uninitialized variable.
* added testing of raw reads files to make sure they are not empty and
have the same number of lines.