Fixing mixup of bare and shared pointers in task.

commit 0a6273307cc3aad919d6eeedad7b51d007485081
Author: kaihowl <kai@hoewelmeyer.eu>
Date:   Wed Oct 30 22:45:49 2013 +0100

    Fixed uninitialized variable in CentralPriorityScheduler.h

commit ccea62b861a9f9adcaeb5a78694a8b3cc871233e
Author: kaihowl <kai@hoewelmeyer.eu>
Date:   Wed Oct 30 21:56:49 2013 +0100

    Potential fix by Johannes.

commit 17752b216b7fd60d55f66ab5bed3c5883d12f960
Author: kaihowl <kai@hoewelmeyer.eu>
Date:   Wed Oct 30 21:39:59 2013 +0100

    Is this a memory leak??

commit 3335f4e7cadbf095fdb1ad3f4240c43eda980c63
Author: kaihowl <kai@hoewelmeyer.eu>
Date:   Wed Oct 30 16:20:35 2013 +0100

    Debugging output and additional locks.