Add code for getting and releasing a database connection
add py.test file
add changes to test_journal.py
Merge branch 'step2' of https://github.com/rivese/learning_journal
added write entry function
Took out the user requirement for db connection.
made changes to the user requiremnt for conneciton to db.