Fixes #9. Handles navigator.connection.type bug in cordova 2.2
Merge branch '7.x-2.x' of github.com:signalpoint/DrupalGap into 7.x-2.x