add URI generation for Bitbucket private repos
PHPdoc and README updates