Triaxial Scale-free Models of Highly Flattened Elliptical Galaxies with and without Massive Halos