Merge pull request #28 from techtonik/master

Simplified API for adding nodes and edges.
Enable strict mode and fix two scope errors