[patterns] Support adding ver tag to pattern entries
[packaging] move to tar_git based packaging
[patterns] Add flags tag when ver is added to pattern entries

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[tests] add tests for new flags and ver attributes