Fixed some middleware bugs.
Reworked session mechanism to 1) work, 2) use dogpile.cache
Added file-based sessions