adding support to gimme and has with multiple templates. refactoring in targetAttribute
Merge pull request #56 from nykolaslima/has_with_more_templates

#gimme and #has with multiple templates