Added support for "PopulationSelection"

Added support for "PopulationSelection", although we still need to decide on the appropriate name (maybe in the Google hangout). Also added some unit-tests for Component (Prototype, Definition etc) although they are fairly rudimentary and I am not sure whether they conform to the best practices so any suggestions on how to improve them are welcome.