Web: Memory resource limits when creating a container.

Closes #302

Reviewed by: Stef Walter <stefw@redhat.com>