Make return type of skeletonize function boolean
Reformat code to comply with PEP8
Remove unnecessary conversion step to numpy array
Merge pull request #501 from ahojnnes/skeletonize

BUG: Fix `skeletonize` return type.