Update PHPDocs, defines and var declarations

Update PHPDocs
Remove some duplicated defines
Remove unused variables
Update more PHPDocs, defines, etc
Improve handling of dolist arguments

* Accept id and md5 without failing
 * Accept capatilized status values.
Empty string namespace value triggers false seperator replacement
Update PHPDocs
switch done/undone images of tasks too, similar to dolist
Refactored js using jQuery.
Mostly functionality is kept as before. Js updating of task title attr is now based one task for all the duplicates in the page. Page task view statistics improved.
update language strings
Merge pull request #14 from Klap-in/master

Improve dolist syntax, some PHPDocs and jQuerified