Fix dynamically instantiated objects when using newWithBracesFilter.
bug #568 Fix dynamically instantiated objects when using newWithBracesFilter. (wjaspers)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #568).

Discussion
----------

Fix dynamically instantiated objects when using newWithBracesFilter.

As the test data demonstrates, a dynamically instantiated class would have been incorrectly 'fixed'.

`return new $someObj['class']($someArg['thing']);`
would become
`return new $someObj['class'()]($someArg['thing']);`
which is invalid PHP.

the same applied when no constructor arguments were provided.

Commits
-------

6b6f33c Fix dynamically instantiated objects when using newWithBracesFilter.