fix addTaskjoblog parameter definition

A Taskjoblog is linked to a Taskjobstate and the method's parameter taskjobs_id is disturbing.
Therefore, this parameter is now renamed correctly to taskjobstates_id.
Merge remote-tracking branch 'origin/master'
fix "directory creation" action

This issue was due to forgotten url encoding.

fixes #2135