fixed Lua header to version 5.2; added Lua media base class