Resolves #26, flatten dict passed to MockConfiguration.
Merge pull request #27 from dnephin/26_mock_configuration_bug

Resolves #26, flatten dict passed to MockConfiguration.