Use char type for circle_perimeter method for speedup
Use same cython directives for whole source file
Fix PEP8 issues
Merge pull request #412 from ahojnnes/draw-cython-directives

ENH: Some improvements to draw.