Improved build matrix.

The build will now test with pyp3.
All network operations will retry themselves if they failed.
The app will be tested against Django 1.6.x and 1.7.x.
The build will fast finish since the matrix is large.