Final update for version 2

Small tweaks, fix typos, and syntax errors.
The next update will be for version 3 and will be DB incompatible.  I
will provide an outline for a data migration script (based on migrating
my own historical data)
Hopefully addressed the problem of the placeholder ("Rendering..") image not displaying when clicking on the "Show" button.  This is done using a setTimeout() from a function that just updates with the placeholder image, with the setTimeout callback being the routine that actually draws the chart.
Chart now includes present HVAC session

And a typo fix...
Modify the generation of the X axis labels such that it doesn't generate an extra highlighted hash (which comes with another veritical white line on the chart) after each intended hash/label.
Merge pull request #21 from Lerrissirrel/bugfixes

Bugfixes
Fixed the table display to not put the "rendering..." image up on the chart.
Merge pull request #23 from Lerrissirrel/bugfixes

Fixed the table display to not "render..."
Some minor tweaks

I think the pull request #23 undid some of the things added in #21 that
we beneficial.  (Including an undocumented fix to the tabular chart
scrolling now works - thanks Lerrissirrel!)
Many small changes

1. Attempt to speed up/prevent timeout chart drawing by moving SQL
execution before start of drawing
2. And turn off anti-aliasing
3. Move several more icons into the sprite palette
4. Move log-in function to top of page (in prep for a REAL log-in.  For
now use the PW hard coded in config.php and ANY made up user name)
5. Move JavaScript to it's own file in the resource directory.
6. Fix bad handling of cookie "false" value
7. Add backup function!  (Have to manually visit the backup.php web page
for now, but hey, it's in there!)
8. New page background image (cool huh?  Ugly as sin when you switch to
Icy theme though)
First pass at adding forecast to dashboard

Also trying to move the ExternalWeather.php to a better object model
(It's not there yet)
Needs some tidy up on the Ajax implementation logic or else there will
be an explosion of function pairs just to load data.
A few small changes

1. Tidy up/Consolidation of Ajax code.
2. Dead code removal (js and css).
3. Cookie save/restore logic updated to match end date/days before
method.
Fix omission of value attribute

Typo
Database backup works!

Several changes, but the big one is #1
1. Database backup works (the button is on the Account tab)
2. There is a change to config.php because of #1 - it is important!
3. Typos and small code style change.  Sooo many typos.
4. Update to forecast appearance to add hi/low and name of date
5. Forecast does not need file locking - removed.
6. Moved header CSS to tabs CSS file.  Although "tabs" are a distinct
library they are fully integrated in this program now - should the files
stop living in a lib directory and live in the main one?
7. Fixed bug with missing right peren that I accidently introduced in
some recent previous iteration.
Added external logging package (KLogger)

Bare minimum changes to fix a bug (and hopefully I get a lot of new
features too)
Modified logIt() to be a wrapper to new logging tool.
Flags make external weather and forecast optional

1. Added two flags to $weatherConfig
2. Added processing for forecast flag
3. thermo.php had other changes that required addition of new
register.class file.
Stinking typos