Scheduler module is working.
Battery charging feature is working.  It checks the battery voltage every 10 seconds and stops charging when the voltage is above
4.15V.  It restarts charging when the voltage falls below 4.0V.
Fixed uart errors.  volatile was not properly specified on some extern declarations for command handling related variables.
Also, fixed a latent bug in sendf that made it not completely synchronous.
Fixed reset_handler to actually return the correct reset types and implemented handlers for power_on and mclr resets.
Made the RTCC run always since it is required for the scheduler module to work.
Made the debug uart only wake for between 10 and 20 seconds following an MCLR reset.  If a command is not received in that time,
the module is completely disabled to save power.
Cosmetic changes
Moved scheduler to core