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.
Default to current collection in getDictionary()
Merge pull request #3757 from JosephSilber/get-dictionary-current

Default to current collection in getDictionary()
Fixed `digits:value` validation rule.
Validation rule checks against `numeric` rule before it attempts to check actual length of cheated value.
Add TTR to Beanstalkd...
Fix Beanstalkd tests
Typo -.-
Merge pull request #3760 from Andreyco/4.1

Fixed `digits:value` validation rule.
fix validator docblocks
Fixed issue using whereHas with HasManyThrough Relationship
Merge pull request #3770 from crhayes/4.1

Fixed issue using whereHas with HasManyThrough Relationship
Merge pull request #3768 from cangelis/4.1-validator-docblock

Fix validator docblocks
Merge branch '4.1' of https://github.com/sraka1/framework into sraka1-4.1
Working on TTR for beanstalks.
Update change log.
Eased merging of two MessageBag instances
Fix code style
Enhanced Session Put

Added the ability to put an array, and have it add individual session
items.
Typos
UrlGenerator: When in HTTPS, don't specify port 443