Integrated Photonic Devices For Optical Pulse Shaping, Processing And Measurement