Moved is_indexed and index_ref into bwa.py as it is more fitting to be there. Formatted code a bit to 80 columns