CLC-3424 Do not rescue generic Exception

https://jira.ets.berkeley.edu/jira/browse/CLC-3424

The third commit moves the codebase to standard Ruby practice, rescuing StandardError exceptions rather than the generic Exception class. This keeps application code from swallowing process control signals, RSpec exceptions, etc.

The first two commits address related issues I discovered while testing.