West Ham have signed Barcelona midfielder Alex Song and Chelsea winger Victor Moses on season-long loan deals, with Hull City striker Nikica Jelavic also arriving for about £3m.