Index version and package names. Update hosts get_by_name method.
Add tests.

* New tests for packages REST api.
* Updated buildout REST api tests so that it works with Python 3.2, 3.3 too.