Adding allocList function
Adding allocList function

This function iterates over the tryMGAlloc function, updates the node
list and instance list, and refeeds it recursively until no new
instances are left.

This allows us then to allocate multiple instances and see if they would
fit together.

Signed-off-by: René Nussbaumer <bc755ac45a0e799d1d490cba76febc56d80cc5fc@google.com>
Reviewed-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>

mbakke/ganeti,ganeti/ganeti,mbakke/ganeti,dimara/ganeti,grnet/snf-ganeti,onponomarev/ganeti,mbakke/ganeti,leshchevds/ganeti,bitemyapp/ganeti,ganeti/ganeti,yiannist/ganeti,grnet/snf-ganeti,apyrgio/snf-ganeti,apyrgio/snf-ganeti,yiannist/ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,apyrgio/ganeti,bitemyapp/ganeti,andir/ganeti,andir/ganeti,andir/ganeti,leshchevds/ganeti,onponomarev/ganeti,ganeti/ganeti,yiannist/ganeti,dimara/ganeti,apyrgio/ganeti,ganeti-github-testing/ganeti-test-1