Add #pragma newdecls required|optional.

This is similar to `#pragma semicolon`. It lets code require new-style declarations in order to ensure full style compliance. The pragma is forced on when parsing methodmaps and class bodies.