Add an encoder method for encoding the SPS/PPS without encoding a frame

This is useful if using a muxer that requires the SPS/PPS to be
available before the first frame is encoded.
Merge pull request #134 from mstorsjo/encode-sps-pps

Add an encoder method for encoding the SPS/PPS without encoding a frame