Higher Spin Chern-Simons Theory And Kdv Hierarchies