created a static method which parses the mongo cursor return by querying
for annotation documents.
Cleaned up code: remove some self.variables of class.
Fixed the order in which methods are called to query 'waves database.
Cleaned up code some more.
Changed argments to collectbetas(). Changed the variable name
sample_type to sample_group
Querying chip type for waves collection works