Keeping open tab after page reload or save and not going back to first tab

This is a fix to keep the table state even after save and reload and not to go back to the first tab

Note:
This PR does not include the usage of this function within different pages, and it needs to be selected out whether to use throughout the CMS or for specific pages.

To include the tab state save to a page, use the following include script
JHtml::_('behavior.tabstate');

@Tested for administrator section com_config