Fixed get_template function.

The parameter 'use' is defined as ListProp, and may be a list. In such a
case, get_templates functnions fails.
Merge pull request #988 from geektophe/fix_item_multivalue

FIX: Fixed Item's get_template method.