This patch adds "refresh" command that refreshes node.
Usually this refresh process is run when the server is
idle for some time, but it would be very useful for
automated testing purposes if the refresh can also be
done on demand. (e.g. add documents to the index and
then check that the search returns the correct result)