type: added function blizz_type_free_all

Functions frees all the memory that was allocated by the type-system.