require hooks at configuration time instead of gem load time, rework rspec rake tasks