workspace open & close routines implementation

piece of code is moved to `bws-register-entry' routine to share it
across the bws-link-buffer, bws-proj-scan-entries and bws-proj-open.