Add PDO database mode and fix an HTML page caching issue.  Closes #11. Code contributed by @mozai - thanks!