Power Hours refactor; fully working. See notes.

Required SQL changes:
ALTER TABLE r4_one_ups ADD COLUMN one_up_queued boolean default false;
alter table r4_one_ups add one_up_id integer not null;
ALTER TABLE r4_one_ups ALTER COLUMN one_up_id SET DEFAULT
nextval('r4_schedule_sched_id_seq');
ALTER TABLE r4_elections ALTER COLUMN elec_id SET DEFAULT
nextval('r4_schedule_sched_id_seq');