API: Templates for Grape APIs
Mainly this MR changes how the Grape API routes are generated by using a template and rake tasks to generate static files. The reason is for the API code to be easier to understand and manage, with the option to (more easily) stop using code generation. While Grape API can be introspected, it's also easier to view them when printed out.