ALLJOYN-2075: Object security API changes.

Change-Id: I68805f465def7c275c33236111fbe9ac89a48284