adding namespaces as numeric values to GWToolset.namespaces.php
and simplifying the defined test in GWToolset.php

Bug: 58591
Change-Id: I1fa636bcadbf20457ebf1d20ddcb579bdbf2f9f8