Extended the candidate unittests
Forgot to add import
Merge branch 'devel' of ssh://github.com/Tribler/dispersy into
probability_unitttests

Conflicts:
	tests/test_candidates.py
Merge pull request #67 from boudewijn-tribler/bugfixes

More candidate/walker related counters.
Merge pull request #65 from Tribler/probability_unitttests

Extended the candidate unittests
Documentation update.

- renamed wireprotocol files to include the org extention.
- added filer_code.py and tutorial-part1.org.
Merge pull request #69 from boudewijn-tribler/documentation

Documentation update.
Fix for missing "intro" candidates in CommunityStatistics
Merge pull request #77 from NielsZeilemaker/statistics_fix

Fix for missing "intro" candidates in CommunityStatistics
Removes Candidate.is(_any)_active(...).

Instead of is_active(...) use: get_category(...) in (u"walk", u"stumble")

There is no replacement for is_any_active(...).  Instead the states of
a candidate in other communities no longer influenc each other.
Using dispersy_yield_verified_candidates instead of manual filtering.
Add documetation.
Merge pull request #76 from boudewijn-tribler/bugfixes

Fixes and a live overlay test.
Merge remote-tracking branch 'remotes/upstream/devel' into candidate-cleanup

Conflicts:
	dispersy.py
Merge pull request #80 from boudewijn-tribler/candidate-cleanup

Removes Candidate.is(_any)_active(...).
Removed GlobalCandidateCache.

Since we want all communities to manage their own Candidate, the
GlobalCandidateCache is no longer needed.

Several Candidate related methods have been moved from dispersy.py to
community.py, finally, all references to the GlobalCandidateCache have
been rewritten to use candidates from the community directly.
Merge pull request #83 from boudewijn-tribler/candidate-cleanup

Removed GlobalCandidateCache.
Candidate instance is no longer aware of communities.

previously the candidate instance contained information on a per
community basis.  This meant that most methods contained an argument
to identify the community for which an event occurred.

We have changed the candidate to no longer be aware of communities.
This means that:

- all arguments specifying a community have been removed,
- some methods have been removed entirely (i.e. those that exclusively
  worked on all communities), and
- some methods have been rewritten to properties (i.e. those that no
  longer have any arguments).

All changes outside candidate.py reflect changes to handle these API
changes.
Prevent the endpoint from blocking.

UDP packets that are larger than 2^16 (including IP header) are
impossible to sent and will cause the endpoint to block.  When such a
thing occurs we will now raise a helpful exception.
Merge pull request #86 from boudewijn-tribler/endpoint

Prevent the endpoint from blocking.