Minor fixes

Add comment and use avp constants for creating the Result-Code AVP.