Add functionality to generated idl files for all source files under a source directory.

RB=173024
R=mtagle,si-dev,jbetz,slim,sihde
A=gogenc
Fix incorrect schema field for idl files.

RB=173360
R=mtagle,jbetz,slim,si-dev
A=gogenc,slim