Support a specific ref.
Integration with oauth process.
Get from headers "host" value for callback url
Merge pull request #1 from srenault/master

Support a specific ref & integration with oauth process.