opencv: add options --with-tests, --without-openexr

Force brewed libs for all dependencies. Style cleanup.
samtools: update dwgsim to 0.1.11

Closes #801.