Review of the Magnetohydrodynamic Waves and Their Stability in Solar Spicules and X-Ray Jets