[TASK] Move init/shutdown of pdoXcal in pdoX

Change-Id: I0b74b477e8c69e1d477167d463ea721e04eb2748
Reviewed-on: http://brateggevoat1/gerrit/478
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Fix error handler

- Add missing shutdown of errhndkcal in errhndk,c
- Replace wrong #ifdef conditionals in errhndu.c

Change-Id: Ic11fb974b6b8a4a7829e7ad0170d4085f2bd33a1
Reviewed-on: http://brateggevoat1/gerrit/479
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] add PDO local implementation for single process platforms

Local implementation uses global variables to share PDO between kernel and
user layer.

Change-Id: I3d44823651a575c3b0f5b9c63bb5f61b2953e132
Reviewed-on: http://brateggevoat1/gerrit/480
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] update Altera and Xilinx directio example to refactored PDO module

Change-Id: Ie355f8ec2364e87dd59aac3b489c5e42114e250d
Reviewed-on: http://brateggevoat1/gerrit/485
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>