@gvaish Fixed bug in 'add', updated 'update', added test cases

* todo.common.js: add method => complete -> completed, update method => return updated item
* todo.common-tests.js: Test cases