Add convert_idx_tuple and fix convertion

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
add strip option to frind_oid_by_value

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
fix in get_index_from_oid

Fix return value in case of length is 1.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>