slapos_slap_tool: Cache the XML to preserve performance

  Re-serialise the object from the dict after hit cache is slow enough
to cause problems ounder high load.

  This change preserve the previous behaviour reaching the final XML
from cache keeping performace on SlapTool and allowing new
implementation benefit from cache at same time.

  Fixup test to match xml with xml.
1 job for master in 0 seconds
Status Job ID Name Coverage
  External
passed SlapOS-Master.UnitTest-Rafael

01:49:13