libfdisk: add reference counting to fdisk_partition

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add table container

Signed-off-by: Karel Zak <kzak@redhat.com>