misc, tests, diagnostic

issue #962: add tests, surprisingly all tests pass without changes to the functions even though they use wrapped results instead of `._results` (tested only with pandas 0.7.3 so far)

- delinting, make pylint happy so it doesn't report errors (that are not really errors)
- some updates to example (for refactoring victims)
- fix possible endless loop in ttest_power