Update references to SQLAlchemy 0.9 function

Update references for SQLAlchemy expression Function for version 0.9. 

I didn't check to see if any other SA changes affect this.