removed an unused variable

warning: 'log_messages' defined but not used [-Wunused-variable]
removed an unused function

warning: 'void do_log_syslog(const char*)' defined but not used [-Wunused-function]
fixed warnings about non-writable strings

warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
removed a #warning about optimizing the YCP lists

It was a TODO that went unfixed for 10+ years.
Give way to real comipler warnings.
removed #warnings in detailedtype

The method has been used in the YCP parser for the type of the
container[indices]:default construct, so we are pretty sure it was in
fact finished and complete, for al practical purposes.

Give way to real compiler warnings.
version + changelog
Merge pull request #79 from mvidner/gcc-warnings

Fixed another batch of compilation warnings.