Updated to use the new StandardRegisteryServiceBuilder class when
creating the SessionFactory.