[update] duplicate unique insert => return 1

To distinguish between failures such as no memory and failure because an
insertion failed because of a duplicate, a positive value (1) is now
returned from sh_map/set_insert and sh_vector_insert_sorted.

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>