ISIS-597: session now open during service initialization.

Also changes to example app isis.properties to ensure that RegisterEntities
is called first as a service (make sure that JDO metamodel is initialized)