Revert "Implementing Layout and Starting on new bookmarklet and settings page"

This reverts commit 2906a70a29f2c97e88c2b64eaa55c7f4fe2d2ad3.
Layout templates, Ajax uploading, and Settings!

Totes amazing commit. Ajax uploading of files now works. Functionality
with updating the db is still not done. Use layouts now for all code
that repeats from page to page. Only index doesn't use it.