Add test class for DictionaryConfigurationController

* Add DictionaryConfigurationControllerTests and first Test
* Tweaked DictionaryConfigurationController to be testable
* Fixed some problems in DictionaryConfigurationController

Change-Id: Ie8f022a232da638d3df133ec8741f7e57514f7d1