Introduce Restx config

Introduce Restx Config and Settings, and replace most System.getProperty usage with this new mechanism.