Fix multi-site configuration for test
Extract repository options to local variable
Get domain info from repository URI
Simplify config file format
Add domain to GitHubPostReceiver::Repository.new
Handle domain related options
Add a basic test case

TODO: add more test