Running this as unprivileged user

I needed to run this as an unprivileged user, so I added a c wrapper that can use setuid root.

I also applied the patch below, fixed a few minor bugs and attempted to improve readability.

The result can be found here: https://github.com/nihlaeth/Nagios_check_smartmon