Expires rewrite

Hi

I've moved the expires stuff to a new mixin and added expires support in mongo db.

Happy new year!
Hannes