Initial implementation of refraction
Fixed many bugs with refraction so it should actually work now. Updated to work with Xcode 5. Hacky fix for ray/sphere intersection.
Adding FreeImage since I had to modify it slightly to get it to build