BUG: Fixing regression in DataFrame.all and DataFrame.any with bool_only=True
* `bool_only` parameter is supported again
* Commit 36ab8c95a41bbadc286a5a520883b149c86931bd created this regression
  due to a bug in all/any (pandas-dev/pandas#23070)
* Reverted the regression and fixed the bug with a condition
* Added tests for `bool_only` parameter

- [x] closes #25101 
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
