restapi: Handle PermGen leak for Maven 3
restapi: Handle PermGen leak for Maven 3

This package uses PowerMock (extensively) in it's tests, which
unfortunately leak PermGen memory. This went unnoticed in Maven 2, but
in Maven 3, which has larger memory requirements, causes the build to
consistantly fail on NicMapperTest.

In order to avoid this problem the tests were forked in a similar way as
in the bll projcet.

Change-Id: I1f6e07281ed4b1653aae7e4c579ec6d587c6987f
Signed-off-by: Allon Mureinik <abc9ddaceaf0c059a5d9bc2aed71f25cb5370dba@redhat.com>

OpenUniversity/ovirt-engine,derekhiggins/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,derekhiggins/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,derekhiggins/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,halober/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,halober/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,derekhiggins/ovirt-engine,yingyun001/ovirt-engine