removed snprintf dependency

CodeGenerator::makeFriendly now uses a hardcoded conversion to hexadeximal,
thus dropping the dependency on snprintf. Should be faster as well. Also
shortened the escape sequences with multiple bytes a bit, ** now becomes c2A2A
instead of c2Ac2A.