Merge pull request #1 from OSBI/master

Merging from OSBI Head
Updated close_others method

No need to check if the tab to be removed is undefined.
Fixed tab caption

Fixed tab caption - it no longer displays the query id.
When first pushing a query into the REST service the query doesn't have an MDX property under the model child.
Merge pull request #233 from PeterFalken/master

Fixes the tab caption