function deleteItem (id, router) {
	return (dispatch, getState) => {
		const state = getState();
		const list = state.lists.currentList;
		list.deleteItem(id, (err) => {
			// If a router is passed, redirect to the current list path,
			// otherwise stay where we are
			if (router) {
				let redirectUrl = `${Keystone.adminPath}/${list.path}`;
				if (state.lists.page.index && state.lists.page.index > 1) {
					redirectUrl = `${redirectUrl}?page=${state.lists.page.index}`;
				}
				router.push(redirectUrl);
			}
			// TODO Proper error handling
			if (err) {
				alert(err.error || 'Error deleting item, please try again!');
			} else {
				dispatch(loadItems());
			}
		});
	};
}
Deletes an item and optionally redirects to the current list URL

@param  {String} id     The ID of the item we want to delete
@param  {Object} router A react-router router object. If this is passed, we
                        redirect to Keystone.adminPath/currentList.path!