Add param2 field for ores, some minor fixes and misc. code cleanup
fix mesh leak in camera class
fix 3d model mesh leak
fix huge texture leak in tiledef
fix minor glitches too
fix memory leak in itemdef
cleanup useless code
fix memory leak on shader shutdown
replace Server smart pointer with conventional one to gain control over dtor call order
fix memory leaks introduced by invalid gettext usage
fix inventory image texture leak
addon extended resource accounting
fix memory leak in loadMedia
fix memory leak on sound shutdown
Use system wide LuaJIT if aviable.
fix extruded items texture leak
fix various memory leaks
fix emergemanager memory leaks