Improve .gitignore and remove some cruft.
Improve sessions API.
Improve TODOs API.
Document API routes.