Ranks tweaks

- Rank Icons widget:
    * now knows actual rank
    * also works for enemy units
- Rank API
    * widgets can now listen to the level-up event (UnitRankUp)
    * unit rank is now a LoS-accessible UnitRulesParam "rank"