[TASK] Print error information to stderr in console demos

Change-Id: I61f31c7e3b2f3e118baeef2161eafe9a3f7614d8
[FIX] Exit kernel event process in noos drivers

If the kernel event module is not initialized, calls to
eventkcal_process would try to access the event queues. In debug mode
every call creates an error message, leading to endless prinouts until
the user layer starts to initialize the kernel.
This fix avoids the endless printouts by returning from the process
function if the event module is not yet initialized.

Change-Id: I8230770858d5b7c467cd2925354c0ef6b5c545f9
[FIX] Add several code cleanups

* Fix typos in public header files and demos
* Fix compiler warnings in console demo applications

Change-Id: I108c669c744b731cdf1eff794072be754601bc27
[FIX] Resolve warnings

- Add stdio.h inclusion to dualprocshm target headers.
- Avoid redefined TRACE macro in dualprocshm.
- Remove warning in hostiflib target headers.
- Resolve warnings in dllk.
- Resolve warnings in dualprocshm CAL.
- Resolve "no newline at end of file" warnings.
- Resolve "unused parameter" warnings.

Change-Id: I16a0f77108f6e7f7c9411999d55b9922450a3245
[FIX] Fix missing OPLK_MUTEX_T definition in Linux kernel

Even if the mutex functions are not used in Linux kernel,
OPLK_MUTEX_T must be defined to avoid compiler errors.

Change-Id: Ie58d61d0287346165270cfcd27df043af5d017a8
[TASK] Remove ftracedebug from demo applications

The ftracedebug module is only used on the Linux platform for easier
stack debugging. Therefore, it is included only in those stack files
referencing the FTRACE_* macros.

Additionally, all references to ftrace are removed from the demo
applications, and the ftrace initialization and cleanup are moved
from the application initialization to the stack target files.

Change-Id: I850f9f13406042ed66f20e951ca4f8d873eb1ea1
[TASK] Move ftracedebug.h to common include directory

Since ftracedebug is only used inside the stack, the ftracedebug.h
file is moved from the public to the internal include directory.

Change-Id: I41a606152bd0ee2a395a15daf687d2ad2832910b
[TASK] Revise target specific locking

- Remove lock.h from source directory
- Update targetdefs

Change-Id: I1dd92a5f72ec10b30f3c75ee80ccb1a4f196a299
[FIX] Change Linux stack configuration to avoid feature mismatch

The stack configuration for libcnapp-userintf and libcndrv-pcap
must both contain equal definitions of CONFIG_INCLUDE_VETH.
Otherwise a feature mismatch is reported on startup.

Change-Id: Ib63c84e72285e57144a48f87da4dea50fa8f0a41