Fixed bug 723671 add schema revision info to middleware

Adding a middleware service that provides the current version of the schema as specified by Alembic.