Updated .gitignore to include *.ser files
Update .gitignore
Add class ShutdownHook - calls flush() on JVM shutdown
Addeded shutdown() to ContactManager - registers ShutdownHook.