Trac #15800 , Enhance for dynamicly tabs, include filter hooks, #3

The function is simple, but helpful for plugin developers. Also with the function we reduce redundanted source for create tabs. I have also add a little bid accessibility. 

Trac Reference: https://core.trac.wordpress.org/ticket/15800