Fix the yaml config file in the travis.yml.
Add note in util script about being standalone.
Fix bug when waiting for sync.

wait_to_sync was expecting headers, while it was being passed token.