Flattened conditionals in compileShader and createProgram.
Moved log #defines to separate file.
Moved shader stuff into shader_utils.c for easier reuse.
Delete shader objects after program has been linked.