Infer target platform from ghc --info

This change set addresses https://github.com/haskell/cabal/issues/1184#issuecomment-13761018 to infer the OS and Arch from ghc --info. It also adds an OS called "iOS".