put __main__ code into main(), take generate config function into two
function
modify code architecture and mrthods
remove f.clsoe()
modify unittest with each testcase has arrange, act, assrty three part
add return in get and put callback function
modify unittest check data formate of assert
replace self.model.db to real data in self.assertEqual
modify dns.py to catch in outer method and corresponding unit-test
modify assertEqual order
add logger.debug to log debug message before response code 400
remove update_config from init() to run()
Merge pull request #2 from chenjordan/develop

:+1: modify my dns bundle and unit-test code architecture