Revert last commit going back to two middlewares, one before the exception middlewares and the other after the calculation of the remote IP address.
Add missing fields to the logged activity and some comments regarding the two middlewares.
Add DelayedJob module to include in delayed_job job classes and make them log to Poirot