Added support for multiple tabs with options in the template styles manager

Earlier the template style edit page showed always all options in the
one "Options" tab. Implementation is based on the edit view from the
com_modules manager.