support generating frameworks

For a full description of what's happening: https://github.com/AFNetworking/AFNetworking/issues/2205

Basically you cannot build Reachability as a framework ( which CocoaPods will be doing on the next + 1 major release. )  with .h files referencing things outside of the module. Moving them to the .m fixes this like it does in AFNetworking.