AliRelVal: fixed broken if clause and var name
AliRelVal: supports platform alongside arch

Two different fields for platform and arch. Example:

 - platform: Linux
 - arch: x86_64-2.6-gnu-4.1.2
AliRelVal: preparing templated strings