Merge branch 'cboltz-re_flags' into 'master'

Split out RE_FLAGS

... instead of having it duplicated in RE_PROFILE_HAT_DEF and RE_PROFILE_START.

Note that the flags=... handling in RE_PROFILE_HAT_DEF was more/too
strict (for example it didn't allow whitespace around the "="), so this
change also qualifies as a little bugfix.

PR: !287
Acked-by: John Johansen <john.johansen@canonical.com>
2 jobs from master in 10 minutes and 13 seconds
Status Job ID Name Coverage
  Build
passed #131758817
build-all

00:02:40

 
  Test
passed #131758818
test-all

00:07:33