Make creating, serializing and deserializing Records 3-4x faster

by generating __getnewargs__ and __new__ at type creation stage.