Lateral-Type Spin-Photonics Devices: Development and Applications