Rewrote bibdk_openuserstatus_check_returndate to return render array and added some unit tests.