Add python warnings to correlate logged warnings.

Not only do we use logging to record warnings (handled by the
applications logging configuration) but also use Python's warning system
to allow those warnings voice.