[TASK] Use general MN console event source

Remove AppCbEvent() in demo_main.c and replace it with processEvents()
provided in examples/demo_mn_console/event.c.

Change-Id: I2e46ab44edda1fb52b95d6f8a11f7ad01def4e06
Reviewed-on: http://brateggevoat1/gerrit/1302
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[TASK] Rename circbuf-linuxshm.c to circbuf-posixshm.c

Change-Id: Ife9b9c4e81044211f291200e7bb580f832f41539
Reviewed-on: http://brateggevoat1/gerrit/1300
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FIX] Fix typos in dllkframe.c

Change-Id: Id6118852419d2569ff90cb7e671949522044ce3b
Reviewed-on: http://brateggevoat1/gerrit/1306
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add lock arch-module for Nios II

Add lock module for single- and dual-processor noos systems.

Change-Id: Id163e8279d620fab688cf93fe547d4b9db4c9572
Reviewed-on: http://brateggevoat1/gerrit/1283
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Wolfgang Seiss <wolfgang.seiss@br-automation.com>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>
[FEATURE] Add lock to Nios II processor targets

This lock feature is used to enable a pseudo-atomic instruction for the PDO
triple buffer implementation.

Change-Id: I1d7767f18a2c7fa08a9f515b1979ce5ade0c7c90
Reviewed-on: http://brateggevoat1/gerrit/1284
Reviewed-by: Wolfgang Seiss <wolfgang.seiss@br-automation.com>
Tested-by: Jenkins <jenkins@brateggevoat1.br-automation.co.at>
Reviewed-by: Josef Baumgartner <josef.baumgartner@br-automation.com>