Relocate some WebAPI startup / HttpConfiguration creation code