Issue #343 & #353: Improve & Correct UI Init Logic Flow

Fixed the 2 issues:
1) When refreshing (F5) a plugin tab, default tab will be redirected then;
2) tabs.xml is requested twice.

Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com>