Proposed fix to handle binary and integer in secondary indexes.

Added function riak_pb_kv_codec:decode_index_pair/1. I am not sure if this should be exported for some use, but already made encode_index_pair/1 isn't.

I will fix things according to comments if needed.

ps. tests in test/encoding_test.erl at master are currently failing for me, even before this fix.