DB/Osmosis: avoid problems with ways with invalid geometries
Explain queries
Misc: new function strip_includes; move code from db/db.py
Function Match: when including mode header/footer, strip includes
Mode Standalone: option 'explain_queries': print query info

- closes #76
Merge branch 'explain-queries' into branch-0.9