Add configurable per-context flags

[GF-2580] Providing flexibility to switch process id, thread id and console
logging on per-context basis. By default every context is set to global flags.

Open-webOS-DCO-1.0-Signed-off-by: Anatoliy Klymenko <aklymenko@luxoft.com>

Change-Id: Ifdcb42b9ecbf7055c63e313813a1b6508b6f3268