consume mongo tables
Merge branch 'master' into py2

Conflicts:
	ddlgenerator/ddlgenerator.py
do not embed a pymongo cursor in a list