Added some documentation, small changes.

Changed nomenclature to improve coherence.
Removed redundant asserts, improved efficiency.
Merge branch 'graph-creation' of https://github.com/jmmut/common-libs into graph-creation

Conflicts:
	containers/graph.c