Allow passing an object which implements ArrayableInterface to View

https://github.com/laravel/framework/issues/1120