elements.sqlite: added f-block elements to elements table. Used group numbering from 1-32. Problem is that makes periodic table, and periods, too wide; will have to address.
PeriodicTableNav.rb: started using helper function to do database stuff (load elements, etc.) common to multiple pages. Next: implement for all such variables.