[libwspcodec] Added function to dynamically allocate wsp_text_header_iter

struct wsp_text_header_iter is pretty big (> 4K), it should be allocated
dynamically.

Also changed versioning a bit. Now application would be linking against
libwspcodec-X.Y.so rather than libwspcodec.so.X