Sort the RPM profile before sending it to the platform.

This commit sorts the profile hash for RPM profiles so that the get
a consistent hash no matter what order the RPMs were listed in.
The name 'hash' was changed to 'profile_hash' on the consumer profile.
Update the profile hash migration to use the sha256 profile hash code.
Use named parameters in a particular call to make it more obvious what is happening.
Merge branch 'rbarlow-consumer_profile_hashing'