First pass at removing thread-local variables

Commented out all load errors to see problems easier, will add most back
Plugins most certainly broken
Convert bottle to support asyncio

Add before_first_request hook