[bplist] Lift countForTag out.
Actually make the tests work (they were written before we were emitting doctypes).
[bplist] Lift out bplistTrailer and readIntBytes => readSizedInt