server: add a persistent map (PMap), base our persistent queue on it

Signed-off-by: David Scott <dave.scott@eu.citrix.com>