Add a partition function to split a list in two
Add a partition function to split a list in two

This is similar to the Haskell function, except that the signature is
reverse to match the 'any' and 'all' Python functions.

Signed-off-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>
Reviewed-by: Guido Trotter <f62ca4d5358bdaeef0e50e57f9f7e231de63727e@google.com>

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