The Effects of Grain Refinement and Rare Earth Intermetallics on Mechanical Properties of As-Cast and Wrought Magnesium Alloys