QuickDefs are now always byDefault
Merge pull request #210 from glenjamin/master

QuickDefs are now always byDefault
Add: Tests for multiple interfaces
Fix: class_exists() error when using stdclass with required interfaces

You could quite happily create a mock for a stdClass with required interfaces
however whenever you tried to enforce and requirements you'd be met with

    class_exists() expects parameter 1 to be string, array given

Example:

    $mock = Mockery::mock('stdClass, ArrayAccess');
    $mock->shouldReceive('foo')->once();
    $mock->foo();

Added new test to check for this exact situation, and fix to `Generator.php`.

In the two places causing error we're either checking for the array and
returning early before the error occurs, or joining the array on a comma to
display the fictional class name in the same format it's written in the
source.

This may or may not be correct as I'm not familiar with Mockery's source, but it doesn't appear to break any other tests.
Tid: Introduced some recursion to improve `getMethods` methods
Fix: PHP 5.3 Support
Use reflection and getPrototype to get methods of mocked API
Remove _mockery_name and replace with reflection
Merge pull request #222 from davedevelopment/feature/fix-mock-implementing-interfaces

Alternative to #219 - Remove mockery_name and replace with reflection

I'm going out on a limb and merging this, it's a BC break, but the internals are messy and I'm determined to clean them up.

Closes #219
Merge branch 'master' of github.com:padraic/mockery into parameter-object

Conflicts:
	library/Mockery/Container.php
	library/Mockery/Generator.php