Use contenteditable to write blog posts as HTML instead of using inputs
form.ajaxSubmit() now looks for contenteditable attribute and data-input-name

If found, add the innerHTML to formData as [data-input-name]
Set style on main article instead of main>article.

Do this because article might be under a form when creating a new post or
in other circumstance.
Load login class and check login to determine setting of data-menu=admin.

When logged in, <main> will have admin contenxtmentu
Print out new post and do more regexp stuff with data to make work.

Numerous regular expressions used to convert $_POST to something usable
for creating new blog posts.

Most importantly, the url needed to have a lot of it stripped off, and most
of everything else needed to urldecode().
urldecode REDIRECT_URL and do regexp when getting tag urls