cleaning Preferences usage

* split Constants to new class
* new method to load a Color3f from preferences
* simplified coordinates checks in GCodeExtruder