Complete POST /tasks endpoint

So if tasks need to generate and ID it currently gets the items
currently in the DB, and gets the largest of the id numbers + 1, while
this works it does have an issue if more than one task for the user are
being created at the same time the ids will conflict.