Basic Rebase

Added __rebase__ command on branch, base and lib.
Currently, if it can not automatic rebase, it aborts and resets to previous status.
Probable soon, I'll need to add more _interactive_ behaviour

If needed, I can write some documentation.