Rewrote KeyValues2 decoder to support line breaks
Fixed reading/writing angles in KV2
Fixed writing TimeSpan and Color values in KV2
KV2 decode errors now report line numbers
Fixed decoding Color arrays
Replaced some "as" operations with static casts
Fixed Matrix arrays in binary
More casting cleanup