Add model methods:
-convert to JSON object
-update attributes from JSON object
Fix minor style issues
Implement GET, POST, PUT, DELETE methods for /page resource;
Enhanced test page to work with these methods