added versioning to pages using papertrail. created a versions controller to handle page versions.