Rebased commits
Merge pull request #503 from couchbase/feature/issue_457_rebased

Adds support for sync_gateway service creation on Centos7 and Mac OS XRebased commits