small refactoring of cmustache_free() to free all events without the need of temporary variables.
Missed to set and test the size of the input by cmustache_set_input().
cmustache_get_size() implemented.
Test for cmustache_get_input() updated to use cmustache_set_input().