Catch all errors, add debug_msg to Guanako and add debug parameter.

 * Also clean up the code (incl. templates) a bit.
 * Set buildsystem of templates to cmake.
Merge branch 'catchemall'

Conflicts:
	guanako/guanako_frankenstein.vala
	src/build_project.vala
	src/main.vala
	src/project.vala
	src/ui_main.vala

Clean up some other whitespace code issues and use *msg methods in Valama.