When checking capabilty equality, and capability is a list, sort
Merge pull request #442 from basho/rdb-caps-equal

When checking capabilty equality, and capability is a list, sort