Updated ProjectController to use the new history service to add/remove tracks rather than doing it itself.
Updated index.html to include new script and display the dialog/history controls.
Added missing scenarios to cover history.clear.