Added extra form elements for tasks

General bug fixes
Added form elements for task adding (almost)
Add task form updated

The add task form is now almost complete. Still need to add a few more
variables
Updated add task function

I'm happy with how this is now. Will still need to handle validation and
security but that can come later