After commit hooks

Changed to use after_commit callbacks for transactional DB's so the DB transactions not held up; Keeping to the other callbacks for mongo