The European Union (EU) and the Welsh government will finance a technical and commercial feasibility study for a new wave energy test centre off the South Pembrokeshire coast in Wales.