convert io:format/2 calls to ?CONSOLE for consitency with the rest of the code

while here, revert the changes in mustache module