Removed old refresh functionality.

Removed old refresh functionality.
Updated tests.
Updated cordova to realistic versions.

Fixes #15