refactoring
Fixed sorting.
1. Fixed bug: data-pk was not specified for item content.
2. Now when item title or content is changed, an appropriate callback is called to do an ajax call, look at the result, then act appropriately.