Update BasePresenter.php

Implement the JsonSerializable and ArrayableInterface interfaces. This allows the use of json_encode() within a view, removes the 'resource' layer from the resultant JSON array and defers the toArray() method to the resource.
Better to use a `use` statement here and use the shorter name.