Make stacktrace buffer auto-selectable

Adds nrepl-error-buffer-select to control selection of the stacktrace popup 
window.  To make this more useful, the popup buffer now tracks the window and
buffer that were active when the popup opened, and if they are still visible
when the popup closes, then they are re-selected.