Reading graphs with generic ids

Added possibility to read graphs from files, when graph nodes have generic ids (ex. String or Long). Added new test cases (moved from specs.Specification to scalatest.WordSpec) and changed some examples.
please add a toy test with long node ids as well