Convert to using JDO instead of Hibernate

This will enable us to have different storage backends, f.ex. standard MySQL or Google App Engine