fix configuration type check.
move type check validation to configuration module.
define conf class barely.
Merge branch 'fix-kvm-tcp-port-issue' into fix-nwmongw-conf-check
Merge pull request #435 from axsh/fix-nwmongw-conf-check

fix configuration type check.