env var fixes to allow for jenkins integration

- allow for setting RS_SETFILE when running spec tests
- addition of RS_KEYFILE and RS_DEBUG