Added the ability to specify json encoder in ini file.

The json encoder can now be set through the ini file as a dotted python
name.
Allow setting of json decoder in ini file.
Issue a warning for old settings.

Issue a warning to the user when using the no longer settings of
'connection_type' and 'except_on_error'.