Use lowercase true|false in GEXF writer

Fixes #912
Fix assertion bug in test
Merge pull request #914 from hagberg/gexf-bool

Use lowercase true|false in GEXF writer