layerman: make reset_layers more strict

* sometimes update_layers quits in the middle of applying local commits, abort that rebase before reset
* reset to origin/${BRANCH}, local ${BRANCH} can be modified already

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>