upgrade to support orchard v1.8.1

1. upgrade to support orchard v1.8.1
2. cache the SessionFactory