Initial confuse tests commit

This is an initial commit of the tests for libconfuse. These tests are
being converted over from the actual tests that libconfuse currently uses.
Make this function non-recursive, and fix a memory leak
Fixing indentation and etc. in confuse
Fixing confuse.c memory leak and access issues

The first leak is caused via not freeing the opttitle variable on a
return (Fixed via removing all returns and turning them into jumps to a
clean-up at the end which free's the variable if nessisary).

The second access issue has to do with assigning a linked-list directly
to internal sections, and then freeing it for each section (Resulting in
a double free on the list). The easy solution is to simply make a
complete copy of the list whenever a section is loaded, so no double
free happens.
Fix small typo in Makefile
make Travis's valgrind happy
Cleanup leftover memory from the lexer
Fix a segfault issue, and var shadow issue
Converting more libconfuse test cases
Include macros for dprintf as well as vararg alloc_sprintf

This is two small changes. The first is the inclusion of two 'fdprintf'
macros, which do a printf to a file descriptor. At the current moment,
that works via mapping it directly to dprintf, however that could change
for compatibility reasons later-on. The second change is adding the
'alloc_sprintfv' function.
Refactor channel.c to use dfprintf instead of alloc_sprintf

This refactor changes out all the allocations used for alloc_sprintf
plus write(), and instead uses the 'dfprintf' macro to handle it (Which
maps to dprintf).

Eventually this will be replaced too, with a more customizable safer
implementation of a printf type syntax, which could then be expressed in
the configuration files to allow these messages to be configured.
Add basic logging facilities
Remove unneeded function since our target POSIX includes it
Add custom assert setup
Add assertions to channel.c
Fix some signnedness issues
Fix warning about unset struct entry
Make log_and_die a "err" log
Get rid of _FORTIFY_SOURCE option
Convert more confuse tests