Added AMDErrors Enum
iDeviceManager fix
Updated JavaScript API

Added ManagedAES, updated Compression, Encryption and Hashes.
Added comments to JS API
Revision 5

Fixes ping bug when iTunes doesn't exist
Merge remote-tracking branch 'origin/ios'