Import fix for Sqlalchemy 0.8. compatibility

sqlalchemy.exc import (for SA 0.8+)