[update] C++ friendly headers

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
[bugfix] don't cut until comma for single string param

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
[bugfix] regenerate headers on Makefile.common update

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Merge 'origin/master'

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>