Add page model, validations and testing

also added one more test for the post model.
jesse fixed the form bug, and those other commits are just me merging his changes back into mine