Map property selector

Fixes #18 by adding a template property to PropertyMapping.
The template property name is "select" and accepts only "first" or "last" as values.