Higher Spin Gauge Theories in Various Dimensions