web: Show container memory limit and cpu priority in details

If a CPU priority and memory limit have been assigned then
show them in the container details. In addition show the ports
row only when ports have been assigned.

Fixes #354