Develop testing

Here are the code and data files for my samtools view tests.  They mainly add a big chunk to test/test.pl so it all runs when you type 'make check'.