updating new job mailer to address

refactoring logic (move more to models)

fix capybara db cleaning strategy
make selector specific
refactor checkpoint jobs controller