Add 'except' and 'only' methods to Eloquent Collection class.
fix count when the key is an attribute written in dot notation
Squashed commits of general refactoring to the segments method.

* Refactor segments method so that it is consitent with the expected values of the segment method
* DRY out the segment method so that it uses the segments method
* Add braces to control structures with a single line
* PSR 2 requires that:

  > The body of each structure MUST be enclosed by braces

  Throw caution to the wind and remove braces from control structures containg a single line

* Revert "Add braces to control structures with a single line"

  This reverts commit 8e56540a4301ede193d3743313487d9f77b457a0.
Fix typo.
Fix multiple methods on routes command.
Added isDeferredService method to application.
Fixed test whitespaces
Merge pull request #3721 from GrahamCampbell/4.1-tests

Fixed Whitespace In Tests
Fixed tests
Merge pull request #3725 from GrahamCampbell/4.1-fixes

[IMPORTANT] FIXES FAILING TESTS
Merge branch '4.1' of https://github.com/marcoscoelho/framework into marcoscoelho-4.1
Minor spacing fixes in database tests
Merge branch '4.1' of github.com:laravel/framework into marcoscoelho-4.1
Fix present count.
Merge pull request #3727 from GrahamCampbell/4.1-cs

Minor spacing fixes in database tests
Added json encoding options to json response
Added method short-cut to request.
Fix bug introduced a few versions ago.
Merge pull request #3660 from GrahamCampbell/4.1-json

Allow Json Encoding Options To Be Set On The Json Response
Working on code style.