Add output parameter support and test.

As an aside, there isn't even a need for a specific withOutputParameter on the expected call - it is identical with withConstPointerParameter.

Come to think of it - how about appending "_output" or some unique identifier to the name?