[sys] use shared_ptr for options implementation

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>