Measurement of the branching fraction and photon energy moments of B -> X-s gamma and A(CP)(B -> Xs+d gamma) RID C-2728-2008 RID C-5223-2009 RID G-6312-2011 RID C-5719-2008 RID D-1055-2009 RID A-2675-2009