added some lua utils;
added a Scene Type to lua; This commit breaks, because the scene doesn't have an engine asigned when it loads the background imgs;