Cleaned loading APIs from unnecessary places

There was a call to os.loadAPI where there shouldn't have been. All API
loading happens in the ProgramManager.lua script.