Zero value to return with no limit in take func

In many situations, when using Eloquent objects, we create a function to retrieve a Collection of objects based on a specific filter. Example:

public function getUsersByName ($name, $limit = 0) 
{
return User::where('name', 'like', '%'.$name'%')->take($limit)->get();
}

In this kind of functions we want to limit the collection when some limit is specified and retrieve all objects when no limit is specified. To accomplish this we change the take function in order to consider the value 0 as to retrieve all the founded objects. Without this change we have always to implement the previous function like this:

public function getUsersByName ($name, $limit = 0) 
{
if ($limit = 0) {
return User::where('name', 'like', '%'.$name'%')->get();
}
else {
return User::where('name', 'like', '%'.$name'%')->take($limit)->get();
}
}
Fixes an issue in the exists and toSql function

Update to correct a bug when using the exists function within a Model object. 
Example: when using User::where('id', '>', '0')->exists() it was returning a Builder object. With this change we can know get the boolean value as expected.
The same issue was happening with the toSql function.
Update whoops version.
Merge pull request #1054 from miguelbgouveia/patch-2

Fixes an issue in the exists and toSql function
Fix spacing.
Merge pull request #1053 from miguelbgouveia/patch-1

Zero value to return with no limit in take func
Tweak spacing.
Check for arrayble interface on collection toArray. Fixes #1049
Fix bug in subscriber command.
2nd parameter for appends() is optional if 1st parameter is an array

Signed-off-by: crynobone <crynobone@gmail.com>
Add is_writable equivalent to Illuminate\Filesystem\Filesystem as discussed in [#1043]

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #1064 from crynobone/patch/paginate-appends

2nd parameter for appends() is optional if 1st parameter is an array
Merge pull request #1065 from crynobone/feature/is-writable

Add is_writable equivalent to Illuminate\Filesystem\Filesystem as discussed in [#1043]
Fix translator choice replacements.
Downgrade whoops.
Up monolog dependency.
Fix whoops handling.
Update Patchwork dependency in support component.
Fix JSON responses.
Fixes issue of SQLServer not returning lastInsertId due to primaryKey being passed to the method