Fix up exit() to use standard EXIT_* macros

Minor tidy of code, no functional change, use standard
EXIT_* macros:

  exit(0) --> exit(EXIT_SUCCESS)
  exit(1) --> exit(EXIT_FAILURE)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Fix log messages that don't have a trailing newline at end

Some of the log messages are not emitting a newline, which makes
the output confusing when several of these are emitted.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
man pages: move man pages into the correct sections

daemons such as thermald traditionally have their man page in
section 5.  man pages about file formats go in section 5.

Signed-off-by: Colin Ian King <colin.king@canonical.com>