Prepare RESTBase for flat routing
Prepare RESTBase for flat routing

As expected, flat routing simplifies things quite a bit. I took the
opportunity to also remove all __proto__ magic, which should also be good for
performance.

inverno/restbase,Krenair/restbase,d00rman/restbase,physikerwelt/restbase,Pchelolo/restbase,gwicke/restbase,wikimedia/mediawiki-services-restbase,wikimedia/restbase,milimetric/restbase,cscott/restbase,cscott/restbase,d00rman/restbase,Krenair/restbase,milimetric/restbase,wikimedia/restbase,inverno/restbase,wikimedia/hyperswitch,eevans/restbase,wikimedia/mediawiki-services-restbase,physikerwelt/restbase,eevans/restbase,gwicke/restbase,Pchelolo/restbase