use authentication-headers object for downloading images (Phonegap >= 3.0.0)
Merge pull request #52 from sjbecque/authentication-headers

use authentication-headers object for downloading images (Phonegap >= 3.0)