Add a view for authentication failure counts

This view removes the need for a third table with the total count.
When resetting the counter, reflect the # of events after reset time
Whitespace/alignment
Correctly select events since last reset
Whitespace fix
Add a method for retrieving the most recent result