treat warnings as errors

fixes #69

Example for build failing because of warnings: https://travis-ci.org/krlmlr/r-travis/jobs/13665046