Adding basestation library for auxiliary functions.
Adding SQLite support to server.
Adding Bottle SQLite plugin.
Adding script to create empty database and demo database.
Updating update template for SQLite support.
Adding energy report and power report templates.
Adding function to calculate time difference.
Minor CSS adjustments.