Support adding multiple tasks at once.

Tasks are delimited by newlines during entry.
Update existing unit tests to use the new method to add tasks.