Allow to customize username in revision log via local_user variable

I believe it's too edge case to add one more default variable, but this looks like nice solution for #1030