Merge pull request #2 from Cloudef/master

Update glhck and introduce some new functions
Change rendering to AUTO instead of OPENGL
Added consolehck, quick and dirty support in anglhck_run
Missing CMakeLists.txt
fix cmake, use calloc to reserve pre-zeroed memory
new glhck, change to glhckRenderStatePush2D
new consolehck
Add parent affections