Use Model.remoteMethod instead of loopback's fn.

Rework Todo model to define the remote method `stats` using the new
method `Model.remoteMethod` instead of the deprecated
`loopback.remoteMethod`.
Merge pull request #32 from strongloop/feature/rework-deprecated-loopback-remoteMethod

Use Model.remoteMethod instead of loopback's fn.