API: Misc::escapeString can add quotes around strings
internal: move hardcoded time tracking categories to a variable: Time_Tracking::$default_categories
internal: Time_Tracking::insert take input from parameters
cleanup: there is no "else" after "return"

this cosmetic removes some extra indenting
timetracking: when creating new project always fill default time tracking categories