Add support for rebase.autostash

Merged username-removed-112407 requested to merge rebase.autostash into master

@ch3cooli Comments?