Add flask.g and connection/teardown operators.
Implement tests
Add write_entries function.
Add tests for get_all_entries
Corrected tests for get_all_entries; added get_all_entries function to journal.py
Add view