Inner approximations of completely positive reformulations of mixed binary quadratic programs: a unified analysis. (2nd November 2017)