[WIP] Get refactoring of LegacyTool, Tool, and Repository to pass all tests

Review Request #9663 — Created Feb. 17, 2018 and discarded — Latest diff uploaded

Information

Review Board
master

Reviewers

The code from 2 weeks ago provided an outline of what needed to be
done to refactor the Tool, LegacyTool and the Repository models.
This week, I worked on getting the refactor to pass all test suites.

  • Renamed usages of tool to _legacy_tool
  • Rename entrypoint names to match the names in the tools themselves
  • Use scmtool_name instead of tool field in tests

Code is still WIP, for example how to handle renaming in
RepositoryForm.