Began adding code for emitting v4 code.  At this point, emitting each
endpoint's variable loading in its initializer.  (Note: missing
emitting code for functions, endpoint objects, and user structs, and
not emitting initializers for them either.)
Started emitting signatures for all public methods that can be called.
Still must emit signatures for private methods as well as the bodies
of public and private methods.