mattdrayer/api-profiler-middleware: Hotshot/CProfile support

@chrisndodge -- here's the initial submission for the profiler work I've been doing -- seems like it works pretty well, but probably some tweaking required here and there.  I'll catch up w/ @dmitchell and others as well.
Hmm this change doesn't look related to profiling? Drive by fix?