added ajax-based form submission using JSON
added displaying of Task.all in the tasks/new page