added KEY_PAIR option for template
Merge pull request #753 from andreaturli/feature/more-template-options-properties

added KEY_PAIR option for template