Added isType methods for selection
Refactor of select method in score.cpp
Merge pull request #932 from BartlomiejLewandowski/selection-refactor

Selection refactor