Added syncdb in remote feature

Because there's no Python shell for SAE, syncdb can't execute directly, in traditionally method is export db and import db to SAE but complex.

So create the function to call syncdb in remote server, it makes more simpler.

PS, The patch resubmit for merge with latest master.