Implement session pinning for database Actions:

- New combinators: zip, andFinally, withFilter, withPinnedSession

- Move SimpleDatabaseAction out of DatabaseComponent as
  SynchronousDatabaseAction

- Logging for executed database actions, including sequence counters
  and tree dumps of fused actions

Tests in ActionTest.testSessionPinning.