add `adam view` command, analogous to `samtools view`

Currently supports `-f` and `-F` flags, reading from and writing to BAM or ADAM.

Intended to build on top of #450. The last commit is the only addition; you can view it directly [here](https://github.com/ryan-williams/adam/commit/367c9482dc23cd98e9c2aed57711ddaa881a2664).