Refactor: remove references to mysql_connect.php and trans_connect.php
Use FannieDB instead of uniformity. Also removed references to
select_dlog.php and replaced with DTransactionsModel::selectDlog.
The older version requires a database connection and assumes a
global variable $dbc. The model version is strictly self-contained
and does all the date calculations in PHP