Remove OC\Preference from UserSettings

@MorrisJobke you should be familar with removing \OC\Preference
@Raydiation DI changes and instantiating Application, can you have a look?