Adding a verbose option to the API middleware.

Constructor now accepts an optional 'verbose' boolean which causes the middleware to return an exception's trace array to assist in debugging.
Update composer.json
Need to pass variable into closure.
Changing composer name back to original
Merge pull request #1 from fousheezy/master

Adding a verbose option to the API middleware.