fix bugs in BitWriter
throw errors in not implemented tags
fix function name to match convention
implement DebugIDTag writing
FilterStruct now throws on invalid data
implement writing of LineStyle2 struct
implement DefineShape4Tag writing
implement DefineButton2Tag writing
implement DefineButtonCxformTag writing
implement writing of DoInitActionTag