Remove special mocking for uppercase names

I'm not sure what this was supposed to do. But it causes the occasional
problem when mocking things that have no business being capitalized but
are anyway.
Move tool declarations out to the module-level

This allows the tools to be used as decorators throughout. I don't
remember why I moved them under get_app() in the first place. (Problem
building the docs, maybe?)