Fix problem with backbone.localstorage on some Androids and add compatibility to $.ajax comlete callback

This pull request is a fix for issue #36.

It also adds a comlete callback to the sync function to emulate behavior of $.ajax which also allows to add a complete callback.