Magic variables

Adds support for `$_prior`, `$_merge_base` and `$_rebase_base` variables (see updates to `man/man1/gitsh.1` for details about what they do)