Fixed more memory leaks, fixed the makefile so we don't have to run "make clean" all the time, and fixed cross-compilation
Merge branch 'memory' of https://github.com/pilight/pilight into memory

Conflicts:
	libs/pilight/config.c
	libs/pilight/config.h