Gathering request data from rack environment instead of controller

This patch fixes empty request data for exceptions raised in rails middleware or rails itself.
It also has a test suite for handling uncaught exceptions that was previously in pending state.
Cons: might not gather correct data from rack environment because of simplicity of the parsing algorithm

All comments are welcome