added convert_to_military() function so times are stored in 24hr format

also added a PrettyPrinter to views.py