Change code structure to fit django 1.5
Added csrf token to form
Improve mktemp, remove contentType in some ajax posts
Added missing seahub prefix in imports
Removed duplicated urlconf in settings
Removed remaining contentType in ajax post
Move auth from thirdpart to seahub