Get settings from config.

Make it possible to configure rawes through a pyramid settings file,
with default values similar to normal rawes.

Added unit test.