common: update models/todo.js signature

Change the function exported by `models/todo.js` to conform to
the new contract expected by loopback-boot: the function exported
has a single argument only.