QPR have completed the signing of French international striker Loic Remy from Marseille for a club record fee, believed to be in the region of £8m.