Mark todos and dailies as completed via api

Fixes https://github.com/lefnire/habitrpg/issues/684

with specs!

(last PR was merging into master, sorry)