Added ios configuration to premake
EMBEDDED_SCRIPTS now decides if we use the lua files or the embeded scripts
Updated extension detection in printer_manager.lua