iOS / OS X compiling

Added platform.h that includes OSX-specific and iOS-specific #defines and @imports for properly resolving platform-dependent classes. This header was added to the pch.