make modtype and modsym parsing consistemt
remove monolithic module flag

pretty sure that's no longer necessary
restore protocol code generation in qbc

it was broken for a bit after a bunch of typing changes. this is
a chunk of work to make it better, but it's still not all the way
back.