Clean up arvados_bwa module and add docstrings.

closes #1638