support SQLAlchemy>=0.6.0
pep8, reorganize imports
update HISTORY.txt