Added lib/tabs.php with a function to get tabs options and a function to setup tabs. Added tests