Testing views.
Mocking xmlrpclib instead of pypy.client.

Also not testing all views in test_basics, that was a bad idea.
Fixing import order problem with Celery tasks.

Celery task modules must be imported AFTER create_app() is called.
Otherwise those tasks won't be registered in the Flask context.

Moved create_app() call in tests/conftest.py into the body of the module
instead of in a fixture to guarantee this happens.
More tests for pypi.packages view.
Finished testing pypi.packages view.
Merge pull request #2 from Robpol86/test_coverage

Increased test coverage. Fix Celery NotRegistered in tests.