Handle wrong pycdio version.

Add support for getting versions from eggs.
Add a validate function to allow deps to bail out if the version
is wrong.