fixed bug where the date pattern and resolution where not being passed
down.
Added methods to control the expand ratio of columns and rows.

Change the bindDateField to take a java.util.Date as well as a
java.sql.Date.
added code to help debug emf close issue.
Added check that transaction was active before attempting a commit.
check that the emf is created before attempting to close it.