After commit and railtie

Adds after_commit to callback hooks and auto-include railtie