Add ajax file upload and markdown convertsion

I'll merge v2 later and fix this trouble.