Add new REST resources.

* Add REST resource for buildout packages.
* Add REST resource for host buildouts.
* Add tests for above resources.