add lastPostState and lastSuccessfulPost methods to IOTFramework
add utils.h and conversion.h, which were forgot to be added to the project last time.