Fixed undefined can't call remove() method.

Fixed undefined can't call remove() method when calling the close_other form the context menu.
Context menu now hides correctly after finishing the call.
Added "duplicate' option to context menu.

Added "duplicate' option to context menu.
Rearranged the order on context menu.
Updated Context Menu function calls

Added the call to tabs.duplicate and reordered the case selection.
White space clean up.

White space clean up on close_all and togglePager functions.
Added duplicate function to Saiku.tabs

Added duplicate function to Saiku.tabs
Merge pull request #232 from PeterFalken/master

Added functionality to duplicate a tab from the context menu.