Cleaned files to pass jslint.
Can edit and save league trial phase start.
Editing and Storage of all league phases working.
League plot shaded to show trial and competition

Panning and zooming only allowed to occur within these two periods.
Leagues now only query agents in league.
Fixed agent reset.

Reset now adds a new 'trade' removing everything from the composition
except the league's default start cash.
Leagues are promoted across phases.