Factor out common preflist code

This function is also useful to call from the Riak console to
determine where the data for a given {Bucket,Key} lives.