BUG: column name conflict & as_index=False breaks groupby ops

closes https://github.com/pydata/pandas/issues/7115, https://github.com/pydata/pandas/issues/8112, https://github.com/pydata/pandas/issues/8582