Added QDomElement-to-Preferences parsing into the nested Prefereices structure.
Removed useless tails from the XEP-0136-meta branch changes commited there by mistake.
Few small improvements.
Removed monstrous static conversions from Preferences.