Reinitialize threads on reset.
fix scaling list decoding for size 32x32
read reference picture list modification
initialize ref_pic_list_modification_flag_l1 to zero in P-slices
dump ref_pic_list_modification headers
cleanup and comment decoding of reference-picture-sets
remove unused variables
move ref-pic-sets from decoder context to SPS and slice headers
fix constness in rpc dump
dump textual NAL unit type
Merge pull request #42 from fancycode/reset_threads

Reinitialize threads on reset.