Add custom painter option to column.Column

Added for moneyGuru's Amount columns custom painting.
Add prefsChanged signal to preferences.Preferences

Added so that the event can be listened from the `Preferences` instance
rather than the `Application` one. Avoids big circular references.
Merge remote-tracking branch 'qtlib/master' into qtlib