more cleaning and untangling

* removed static methods in Preferences
* use File instead of file names in Strings
* removed RepRapUtils