Stripping code, some additions

-Removed enum ItemType, MsgType, Steps
-Overhauled ResourceManager, removed its netowork functions, it will
output byte arrays which will be handled by engine
-plugin event calls are now handled properly, IDE won't cause problems
anymore
-Added automatic System plugin loads
-Added a delay for Lua update to prevent overload