Fix the tabs modal to accept nested tabset

In this fix the valiable ctrl of TabsetCtrl has been changed to the
scope level to choose which tab to select from.

In tabsetTitles directive, we need to let the parent tabset rendered
before the nested one.

In the template, tabsAbove needs to be set or it will always will be
down.