added StatementPattern statementPattern and int measurement_id as
parameters for the getSelectedResources method and removed those
parameters from the ResourceSelectorImpl constructor.