Fix getline memory leak in test_bam_translate

getline resizes *res with realloc if *len is smaller than
the number of characters read from the stream on that call.
Setting *len to 0 before each test thus causes getline to
use realloc on *res to increase its size by the number of
characters read for each test, despite the fact it is already
of the correct size.
Fix memory leak in test_rtrans_build

trans_tbl_destroy call missing for second element of tbl_1 (trans_tbl_t) array.
Fix memory leak in test_trans_tbl_init

Missing call to regfree to free memory allocated to pattern buffers by regcomp.
Add missing fclose of orig_stderr to test_bam_translate
Fix getline memory leak in test_filter_header_rg
Fix getline missing fcloses in test_parse_args
Add missing frees to test_parse_args
Free char* in parsed_opts in test_parse_args
No need to set len=0 before getline
Free all allocated names from count_RG
Close orig_stderr *after* printing final error message
Merge test harness memory leaks (PR #200)