Re-arranged CO2 JavaScripts in their own folder.
Draft structure for the add/remove period buttons.
Add new period running without exceptions on mix and factor tables
Table row for the new period now showing up for mixes and factors.
New period row now correctl added to all Consumption tables.
Sucessufully setting all totals to 0 when adding new period.
Calculation of totals for new period in Consumption.
Totals for new period now calculated for Heat and Electric mixes.
Corrected problems fetching sector_scenario in the update method of the CO2 Scenarios controller.
Data for additional periods now correctly saved.
Graphs correctly updated when a period is removed from the CO2 Scenario form.
Demands by sector now being updated when a new period is added to the CO2 Scenario.
Emissions arrays properly updated when a new period is added to a CO2 Scenario.
Merge branch 'master' of https://github.com/iguess/iguess
Merge branch 'co2'