Added support for automated purchase order creation

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>
made sure we don't run into problems when a freelancer has more than one job on a task

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>