1. Default ajaxOptions for X-editable are type='PUT', contentType='application/json'
2. editableParams(params) returns JSON string to submit with a PUT request
3. attachCallbacks now specifies url, name, params, error for ('.todo-header').editable and ('.todo-content').editable. So X-editable actually submits data to the server and only updates the ui in case of success.