Created Pages resource; added ckeditor_rails for modifying static page content; refactored code to resolve deprecation warnings