Modify Lua DeprecatedClass

It's very difficult to give a message when you access a deprecated variable (e.g. print 'CCHide is deprecated' when using CCHide), so I changed this file so that it won't print many messages on startup.