Adding missing import whoooops
Adding support for the 'before' query param

Closes #11