Added support for typedefs

OCMock didn't work for cases in that a method has to return an object with a typedefd type - this patch will make it work