moved lang registration to layer init

not sure this should be necessary since we do end up starting the layers
but it seems like the right place for it anyway.  We could benefit from
two-stage initialization of the languages (and file processors as well)
for customization.