Changed e-mail input type from "text" to "email"
attempt to plug CSRF attack
Set tab size in text editor to match default HTML

The default HTML in a new site’s `index.html` and `not_found.html` has 2-space indents. Setting the editor to match that makes the page easier to edit, because the user can use the Tab key for indentation.

This change is untested. The API call was copied from https://github.com/ajaxorg/ace/wiki/Embedding-API.
A fix for the encoding issue, finally.
Use a random token and verify it on POST requests
Add CSRF token into signin view
Add csrf_token input to dash, new, and site_files/new views
Update csrf_safe? to check the headers. Add some JS code to insert the CSRF token into the XHR request headers.
Merge pull request #4 from mikeycgto/csrf_fix

Updates for CSRF protection
Merge branch 'csrf_fix'
Set default encoding to UTF-8
Adding DOCTYPE declaration
Merge pull request #7 from julienq/master

Template file should have a DOCTYPE declaration
Merge pull request #2 from ndarville/patch-1

Changed e-mail input type from "text" to "email"
Add BSD 2-clause license
Merge pull request #3 from roryokane/patch-1

Set tab size in text editor to match default HTML
fix for percentage on dashboard
remove unused code
a little re-arranging
show how to embed images