Extract TodoList functionality into a package

Previously, all functions were contained within `main.go`. This change introduces a `todolist` package to handle the reading and printing of `Todo`s.

Package layout taken from Docker [examples](https://github.com/docker/docker/tree/master/engine).