Ways to improve the confinement of fast ions in stellarators by RF waves: general analysis and application to Wendelstein 7-X. (12th April 2017)