Added page types to page entity.

WESPRESS-151 - Fixed new pages being automaticly published.
WESPRESS-150 - Fixed saving templates and new pages
WESPRESS-135 - Fixed issue with special chars in page title and descriptions, and meta tags.  Turns out you can not htmlentites on a UTF8 string (Json)