SMW\Settings::newFromGlobals to be static

* Add SettingsArgumentException

Change-Id: I087ca07cf405bae24263c57a1d2f1c4c4bb9aa10