Adds Overview button functionality

Overview will now return you to the upcoming tasks page, which
also allows you to create root projects.
Several chunks of code were moved to functions, such as the
request to get tasks and projects from the database.
Refactors *.children.length to .childElementCount