[2.0] Starting to stand the test targets back up with XCTest

Still lots of work to do here, but I figured I would get the ball rolling.

Also, I had to import CoreGraphics into AFSerialization to support the CGFloat imageScale...