SQLAlchemy nested sets mixin (MPTT)