Add population_genotype data to variation endpoint

This adds the population genotype frequencies and counts for variation. I've removed the duplicate lines from t/test-genome-DBs/homo_sapiens/variation/genotype_code.txt too.

Hmm.. I copied the convention used in the file where sub Phenotypes {} 
gets all the Phenotype data etc. Do they all need updating?


On 31/10/2014 14:35, Kieron Taylor wrote:
>
> In lib/EnsEMBL/REST/Model/Variation.pm:
>
> > @@ -180,6 +181,32 @@ sub pops_as_hash {
> >    return $population;
> >  }
> >
> > +## Genotype frequencies in available populations
> > +sub PopulationGenotypes {
>
> This sub{} is unconventionally named, it could be readily confused 
> with an object name. It's not essential but consider renaming it in 
> keeping with the rest of the APIs, namely verb_lower_case or 
> verb_ObjectType.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/Ensembl/ensembl-rest/pull/28/files#r19669700>.
>