webhelpers paginate doesnt work correctly with recent sqlalchemy 0.6 trunk

Issue #11 resolved
Marcin Lulek
created an issue

because of this change:

http://www.sqlalchemy.org/trac/wiki/06Migration#AnImportantExpressionLanguageGotcha

line 319 in paginate.py

needs to look like this: if collection is not None: to be able to work under SA 0.6

if collection: will throw TypeError: Boolean value of this clause is not defined