Fixed the test for data/reader/WfsCapabilities.js

Adjustments on the class where needed.
Using the config object now to get Getters and Setters.
This is needed for ExtJS5 and also supported by ExtJS4, so we probably should use it.