Added ajax editing of encounters. Added markdown support for textareas.

Signed-off-by: Christian Smith <christian@senshikaze.net>