Return template attributes

-deleting action for returning template
-adding action for template attributes, these
 attributes are used for building of the form
 on the ui side
-filtering out flavor based attributes

Change-Id: I0cc182cb917846e64687d4b32703422be574e435
Merge "Return template attributes"