Fixed build errors and unit tests fail

Updated project files in order to fix build errors (added link to UIKit and CoreGraphics frameworks). Fixed unit tests fail - XCTAssertEqual validates the arguments types. Added explicit type cast.
Why does OCMock itself have to link against CoreGraphics?