implemented configuration file validation, closes #11
added nose tests to check if configuration validation works as expected