Add unit tests for pypi_frontend xmlrpc and normal views. Tests for distutils views not included.
Add test cases for pypi_packages.