Add #pragma newdecls required|optional.
Fix potential bugs in restoring newdecl state.
Merge pull request #69 from alliedmodders/pragma-newdecls

Add #pragma newdecls required|optional.