create and destroy shelve object ONLY at ListDB creation and destruction
create setter function for self.__max_taskno
Code refactoring and finished testEditTask test. Close #31.