fix specs to use rspec config pattern
stub exitstatus to fix specs
fix requires everywhere
use guard-compat