VID-219 fixing tables.js to work with tabs.js

The problem this fixes is that tables that were hidden on page load (i.e. because they were behind a hidden tab) were not getting the popout styles applied.  With this change, every time a tab is clicked, a check will be made for tables in the tab content that haven't been processed yet, and will process those tables to add the popout styles.