Small white bug could be "springtails" which feed off waste and moist wood bedding (i could be wrong though). Did you physically see it come out of the poop or was it in the same general area? Hopefully some of the more experienced herpers can chime in here.
If youre scared its a parasite, if you havent thrown it out or killed it yet, I would save it in a plastic bag and freeze it in case you need to show a vet.
Heres a few threads that I found that might be helpful to you:
http://ball-pythons.net/forums/showt...mucus-in-stool
http://ball-pythons.net/forums/showt...26-Strange-Poo...
http://answers.yahoo.com/question/in...0165249AAAK51R