Updated the rank algorithm of the version such that it checks the num_of_cds value.
Added the rank_version function to the version module.
Changed num_of_cds to the constant value UNKOWN_NUM_OF_CDS instead of 0.
Updated the ProviderVersion spec a little. closes #7.