userportal: resources->quota updating

- Fixed resources quota class cast exception causing
quota not to update.

Change-Id: Iefbbd93e407f40070bf187557560fb2f73a41c0b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=928967
Signed-off-by: Alexander Wels <awels@redhat.com>