Update pyramid_formalchemy/resources.py

Fixed import error with SQLAlchemy 0.8+