Improve allocation

Summary: Adjust allocation to accept the resources input (already sent) and attempt to return more correct (and additional) results for allocation.

Reviewers: ar

Reviewed By: ar

Differential Revision: https://tails.corp.dropbox.com/D73744