[github] Share Project: fix github host url for Enterprise. IDEA-101424

Instead of always using https://github.com,
use the host defined in the settings.
introducing ModuleBasedBuildTargetType for differentiating module-based targets and splitting BuilderRegistry into BuilderRegistry and TargetTypeRegistry for better functionality separation
[github] Create Gist: fix github host url for Enterprise. IDEA-101450

Instead of always using https://api.github.com,
use the host defined in the settings.
fixed PY-8581 Fill Paragraph should not corrupt indentation
PY-8937 fill paragraph works wrong on simple strings
Merge remote-tracking branch 'origin/master'
[github] Add "Enterprise" to the list of possible user plans.

It fixes IDEA-101433, since unknown plan is treated as "free".
After-review cosmetics
[github] Fix "Open in browser" and Rebase fork for Enterprise.

Once again, use the special method to get the host URL.
WEB-6672