Add support for restoring 'erlang-shell-mode' buffers

Hi, thanks for your work on workgroups. This enables very simple restoring of erlang-shell-mode buffers