Update copyright years and do some spell checking.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Cleanup file header and function comments.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Make global variables static to mcsender test app.
Text cleanup and function/header comment cleanup using kernel-doc/gdoc style

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Cleanup calling conventions and prune verbose log messages.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Greatly simplify smclog()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>