Change hostname function to get fqdn
[IMP] Add a new field "visible". This field will be used by the
controller of the Runbot just to hide some repositories.
[FIX] The new function get_base will return the hostname and the path of
a git repository. This function will be used by the runbot.repo#_get_base method.
Merge commit '972d0bd166eaf68989ca9b92ae24ae219a0782d6' into add_support_bitbucket_and_tags
[IMP] Add the support of BitBucket
[REF] Refactor the code because we need to support two HTTP API, the
first one is the Github API and the second for Bitbucket
Merge remote-tracking branch 'bitbucket/fix_runbot_repo_get_base' into add_support_bitbucket_and_tags
[FIX] When we return the hostname and the path, we remove the last slash
to avoid a double slash in the full URL, because bitbucket does not
support this '//' pattern in the url
[IMP] Creation of an abstract layer for the management of Github and
BitBucket
[FIX] Bad typo in the function
[FIX] Add the copyright of OpenERP/Odoo and my copyright
[REF] Cleanup
[REF] Use constants instead of magic numbers
[IMP] Add a specific reference on the repositories for the branches and
the tags. Now, we can specify a specific tag, for example: refs/tags/8.0.0
Merge remote-tracking branch 'bitbucket/add_visible_field' into add_support_bitbucket_and_tags

Conflicts:
	runbot/runbot.py
	runbot/runbot.xml
Merge pull request #1 from matrixise/add_support_bitbucket_and_tags

Add support bitbucket and tags