Refactoring and fixing a few bugs in the response factory.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Few comments so we know what is going on!

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fix bug where Illuminate route was returned for OPTIONS requests.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>