Fixes to Mockery::_objectToArray

1. Variable `$name` was not defined in the `->getProperties(...)` loop
2. `Mockery::_objectToArray` could not handle a getter throwing an exception.

For #2, `Mockery::_objectToArray`, if it receives an exception when converting an object to an array, will return a string surrounded by `!!` that contains the exception class and exception method.

I personally encountered this problem when Mockery, in an attempt to display a `Mockery\Exception\NoMatchingExpectationException` was choking on a `\ReflectionMethod::getPrototype` which was throwing an exception.