Implemented constraints service and moved all contraints releated code there.
Refactored settings to use the new constraints refresh event to inject the constraints controlled by settings.
Bumped api version because of new service.