Log::write() now accepts a scope key in last argument.

If a numerically indexed array is passed, it will understood as the
scope key.
Chaging the $scope parameter name to $context