updated chart/stats pages to be more flexible
updated database to format field aliases
updated Tracker::getHistory() to accept an array for sub_ids