notebook: add newly-pinned tabs at end, not at start
This is slightly nicer, since tabs that you pinned first appear in the leftmost position. As a side effect, this also prevents pinned tabs from reordering themselves when loading the session.
Fixes #1341 (closed)