Merge pull request #94 from RickWong/master

Clean up and applied PSR-1 & PSR-2 coding standards.
Fixes #86: mocking Traversable.
Check for Traversable interface using Reflection instead of regex.
Merge pull request #96 from RickWong/mock-traversable

Fixes #86: mocking Traversable.