Added failure plotting functions

Added functions `show_trend_by_hours` and `show_trend_by_minutes` to
plot failures against caller-defined intervals of time.