Added an API for the hypervisor planner.

The API returns a JSON object with the necessary data.

Also, I fixed the Gemfile to build known-working versions of each module
needed for this project.