Added rawtype property to Dependency class.

This change also includes changes to the constructor of the Dependency class
and the Version.get_dependencies method to use a common terminology.
Fixed docstring of BaseDependency.version property.