Rational design and dynamics of self-propelled colloidal bead chains: from rotators to flagella