fixed waitForSync in graph api, adjusted documentation, delete tests in api-http-spec.rb due to change in ruby lib