Bose-glass Transition and Spin-Wave Localization for 2D Bosons in a Random Potential