[Cosmetics] Rename priority to severity.

Apparently priority has been deprecated, and it's severity now.

Change-Id: I765919e7d5d2348c3f79c1d8218f815be9e4c7b8