SMWHooks::addRefreshTab clean-up

+ Remove addRefreshTab() because hook SkinTemplateTabs was removed in 1.18
+ Remove GLOBALS; use $skinTemplate->getUser()/->msg() instead
+ Add test

Change-Id: Ib82b7332fc4dd60391dec8ad74080298f3b0e05c