refreshSession sometimes doesn't call any callback

In phonegap (android) in some cases teh hasRefreshToken returns false,
and then no Cb are executed breaking the flow of the app.

plus a minor fix :)
Merge pull request #20 from ilbambino/master

refreshSession sometimes doesn't call any callback