fix toJSON of false values for properties

only ignore undefined
Model.extend should preserve prototypes and statics

Static functions and prototypes should be carried over from the base.