optionally treat warnings as errors

fixes #69

Failing run with warnings: https://travis-ci.org/krlmlr/r-travis/jobs/13666145