Change validation for posts 'page' attribute.

issue #2305
- changed validation for 'page' to expect '0' or '1', rather than 'true' or
  'false'
Add functional tests for changing post to page, and page to post

issue #2305
- Added a 'can change a post to static page' test
- Added a 'can change a static page to a post' test