Allow actions to have a dynamic property specifying priority.

This allows extensions to have some control over their menu layouts.

Change-Id: I2e94aa88fe360de8655385ac74b8352d1c0d77fe
Merge topic 'menu-priority' into master

73021c29 Allow actions to have a dynamic property specifying priority.