Add first tests for live configuration reload mechanism

These commit introduces tests that cover basic cases of configuration
reload related to changing XMPP domain.

Currently all the work on configuration reload is kept in
https://github.com/esl/MongooseIM/tree/conf-reload