Merge pull request #213 from pmampe/MOB-297

MOB-297 Added check for undefined as the navigator connection object is ...
Merge pull request #214 from pmampe/MOB-297

MOB-297 Added test case
MOB-298 Updated GAPlugin to newest version from GitHub (merged 2013-06-05)
Merge pull request #215 from carllarsson/MOB-298

MOB-298 Updated GAPlugin to newest version from...
MOB-297 Removed obsolete tests and added new test to check for network connection based on the offline event instead.
MOB-297 Reformatted code for added readability
Merge branch 'master' into MOB-297