Use branch instead of ref in Request::Approval

Pull Requests have refs on the form "refs/pulls/[pull-id]/merge", which
doesn't match the Regexp, which is the cause of #1056. This uses the
branch instead, and fixes #1056.
`notes_for` doesn't use format for now
sync more info for orgs
change to how we update org info

the big change is that we weren't keeping the data after calling
organizations/[id] which meant we were working with basic and
summerized data instead of complete data
update the schema!
Merge branch 'master' into jk_better_org_sync
remove an old attribute in the repository factories
Merge pull request #225 from vipulnsward/remove_format

`notes_for` doesn't use format for now
a few smaller messages
add one small test which covers a PR case
Merge pull request #224 from travis-ci/hh-use-branch-over-ref-in-approval

Use branch instead of ref in Request::Approval
Update test to test what it says it tests
config normalization
Merge pull request #231 from travis-ci/rkh-addons-sugar

config normalization
Merge pull request #229 from travis-ci/jk_better_org_sync

Better Org Sync
Merge branch 'master' into hh-error-build-on-yaml-parse-error