Refactors tabs directives to automaticly pickup tabs

Removes most of the dependencies on parent.scope, but not fully, but
for now we can keep things
pragmatic