Fixed a bug where new pages could not be created

Fixed a bug that would not let the user submit a newly created page to
the server
Fixed an error where the deleted posts would not vanish instantly from
the dashboard
Fixed an error where HTML would be rendered in the dashboard from the
post and pages synopsis
Added sample post and page in the tables creation script
The post_action.php handler will actually return the total number of
posts and pages that were deleted instead of returning 1 everytime.
More detail reponse is sent to the client after an action is performed
in the server.