Fix issues with refreshing the items list and slow ajax requests

Mostly noticeable on slower servers where ajax requests take a while to complete.

This fixes an issue where rapidly refreshing the items list (e.g. by clicking through the filters) before the previous requests have finished would cause the items list to flash the old responses before showing the latest response. To prevent this, abort the previous ajax requests before sending a new one.