use authentication-headers object for downloading images (Phonegap >= 3....

...0.0)

I needed headers for my app. Please let me know if the implementation should be more sophisticated.