Remove PreferencesManager singleton.

Change-Id: I5fc194790dd1459d3dab546f306768d5b620626d
Reviewed-on: http://gerrit.dmdirc.com/3413
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>