Make closeView consistent with "close tab"
It will close the document if the doc only has 1 view and close just the view + remove from tab bar if the doc has more than one views. This ensures that vi mode users will get the same behaviour as normal mode ones.