SQL string fixes & missing setID call

Most of the SQL commands were referencing different tables (tasks vs.
Task vs. Tasks and so on). Standardized all to Tasks

Also, the string for creating the table was slightly off (had quotes
around what was supposed to be a String variable).

Finally, the new 'getfromday' method was missing a setID call, which has
now been added.

Compiles with no errors and no additional warnings.