Looking back over the year month by month, there were glimmers of hope amid the violence, terror and hate