ReAdd validation for wbsetreference....

The call to the method was accidently removed,
this re adds it as well as doing general cleanup

Bug: 56623
Bug: 56662
Change-Id: I8b8f8930fc47a530165fc51caaf52ccb9efa1495
(cherry picked from commit c0e0156e990f9b86607696f315d7f8241dde9b8b)
Merge "ReAdd validation for wbsetreference...." into mw1.23-wmf3