Replace tabs with spaces.
Make some regexes a little more strict.
More general cleanup.
Use newer style validations on the Page model.