Fix limit detection for status page

Most jobs now have two limits, one on h_vmem and one on jobs, which
changes the layout of the data structure parsed from the XML.

Change-Id: Ie6a29b5473fa438940a00817dc58d45fe9d3a980