Output parameter support

Initial support for output parameters.

The implementation doesn't do any copying, it merely takes a value (primitive or pointer) and sets the output pointer to this value.

Support is added to all Mock classes, including the C support.