Made binary star examples support Python 3.

Changed print "" to print(""), send to send_string, recv to
recv_string and setsockopt to setsockopt_string.

Signed-off-by: Even Wiik Thomassen <eventh@gmail.com>
Made binary star python examples follow pep8 coding standard.

Signed-off-by: Even Wiik Thomassen <eventh@gmail.com>
Remove class attributes that were not used in BinaryStar.

Also moved some attributes from class-level to instance level.
As voter_callback was set at instance-level, it makes more sense
to have them as data attributes instead of class attributes.

Signed-off-by: Even Wiik Thomassen <eventh@gmail.com>
Merge pull request #417 from eventh/pythonic

Improve binary star python example files