BUG: rolling/expanding_* treatment of center

Closes https://github.com/pydata/pandas/issues/7925.
ok do you have a test that tests/catches this? (and window < 0, which is an error)?