Use $CC and $CFLAGS.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>
Fixed -Wall fluff.
cgmanager_get_my_cgroup() fixes.

- Handle NULL controller and value.
- Use NIH memory allocation to avoid crash.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>
cgmanager.c memory management improvements.

- cgmanager_get_pid_cgroup(): Use NIH memory allocation to avoid crash.
- cgmanager_create(): USE NIH memory allocation to simplify memory
  management.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>
Re-add copyright symbol again.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>
Merge pull request #2 from jamesodhunt/master

Various fixes.