Fix League Controller test to create game_types before test.
Add passing League feature tests
Refactor league views
- Extract logic in the view into model methods with accompanying tests
- Create percentage_format LeagueHelper method
Merge branch 'jc-view-leagues'

* jc-view-leagues:
  Refactor league views - Extract logic in the view into model methods with accompanying tests - Create percentage_format LeagueHelper method
  Add passing League feature tests
  Fix League Controller test to create game_types before test.