client side platform sniffing

add isIOS, isAndroid, and isWindowsPhone8 and isSupportedPlatform
client side platform sniffing