tier0 monitor upgrade
handle different cursors for SQLAlchemy 0.5.* and 0.9.6

use namespace for import