Tidied up slightly, tweaked a little so that it now works with Phonegap 2.7.0, added readme that explains how to use