added bootstrap function to stats
changed __all__ to import bootstrap
conformed to PEP8, fixed a small bug, and added tests
fixed error in tests
fixed silly mistake in tests
fixed bug in tests
fixed another bug in tests
more bug fixing
Merge pull request #1085 from astronomeralex/bootstrap

Added bootstrap function to stats