Added missing header include files to utils.h
Moved multilevel typedef definitions to public space, fixes #13