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.
sort order