Adding referrer to model. Added more indexes on RequestEvent. Added middleware documentation to README