Added HibernateContext.java, modified loan.java

HibernateContext.java copied straight from schooldemo. Feel free to edit
it.