fix bug 999102: Respond with 404 for $history where document has no revisions
fix bug 999102: Respond with 404 for $history where document has no revisions

a2sheppy/kuma,surajssd/kuma,safwanrahman/kuma,whip112/Whip112,robhudson/kuma,chirilo/kuma,carnell69/kuma,SphinxKnight/kuma,openjck/kuma,Elchi3/kuma,anaran/kuma,openjck/kuma,hoosteeno/kuma,cindyyu/kuma,RanadeepPolavarapu/kuma,scrollback/kuma,davehunt/kuma,cindyyu/kuma,davidyezsetz/kuma,mozilla/kuma,anaran/kuma,jwhitlock/kuma,yfdyh000/kuma,FrankBian/kuma,jgmize/kuma,chirilo/kuma,MenZil/kuma,SphinxKnight/kuma,robhudson/kuma,Elchi3/kuma,whip112/Whip112,cindyyu/kuma,carnell69/kuma,hoosteeno/kuma,safwanrahman/kuma,davidyezsetz/kuma,ronakkhunt/kuma,MenZil/kuma,biswajitsahu/kuma,tximikel/kuma,carnell69/kuma,utkbansal/kuma,yfdyh000/kuma,YOTOV-LIMITED/kuma,groovecoder/kuma,groovecoder/kuma,anaran/kuma,scrollback/kuma,varunkamra/kuma,davehunt/kuma,utkbansal/kuma,jezdez/kuma,MenZil/kuma,carnell69/kuma,nhenezi/kuma,scrollback/kuma,yfdyh000/kuma,carnell69/kuma,hoosteeno/kuma,bluemini/kuma,RanadeepPolavarapu/kuma,bluemini/kuma,nhenezi/kuma,ollie314/kuma,robhudson/kuma,YOTOV-LIMITED/kuma,biswajitsahu/kuma,safwanrahman/kuma,jezdez/kuma,biswajitsahu/kuma,mozilla/kuma,varunkamra/kuma,ronakkhunt/kuma,davidyezsetz/kuma,surajssd/kuma,openjck/kuma,RanadeepPolavarapu/kuma,Elchi3/kuma,a2sheppy/kuma,cindyyu/kuma,hoosteeno/kuma,jwhitlock/kuma,openjck/kuma,nhenezi/kuma,chirilo/kuma,a2sheppy/kuma,utkbansal/kuma,FrankBian/kuma,yfdyh000/kuma,darkwing/kuma,chirilo/kuma,ollie314/kuma,ollie314/kuma,davehunt/kuma,tximikel/kuma,safwanrahman/kuma,varunkamra/kuma,groovecoder/kuma,SphinxKnight/kuma,darkwing/kuma,SphinxKnight/kuma,nhenezi/kuma,ronakkhunt/kuma,jgmize/kuma,safwanrahman/kuma,openjck/kuma,whip112/Whip112,a2sheppy/kuma,chirilo/kuma,biswajitsahu/kuma,carnell69/kuma,tximikel/kuma,bluemini/kuma,jwhitlock/kuma,anaran/kuma,ollie314/kuma,jgmize/kuma,mozilla/kuma,darkwing/kuma,RanadeepPolavarapu/kuma,ronakkhunt/kuma,FrankBian/kuma,mastizada/kuma,Elchi3/kuma,surajssd/kuma,mastizada/kuma,ronakkhunt/kuma,hoosteeno/kuma,darkwing/kuma,MenZil/kuma,SphinxKnight/kuma,mastizada/kuma,utkbansal/kuma,jgmize/kuma,robhudson/kuma,whip112/Whip112,whip112/Whip112,anaran/kuma,escattone/kuma,davehunt/kuma,davehunt/kuma,jezdez/kuma,whip112/Whip112,FrankBian/kuma,jezdez/kuma,utkbansal/kuma,escattone/kuma,biswajitsahu/kuma,mozilla/kuma,darkwing/kuma,cindyyu/kuma,robhudson/kuma,davidyezsetz/kuma,YOTOV-LIMITED/kuma,groovecoder/kuma,yfdyh000/kuma,jezdez/kuma,tximikel/kuma,hoosteeno/kuma,openjck/kuma,surajssd/kuma,escattone/kuma,YOTOV-LIMITED/kuma,anaran/kuma,jgmize/kuma,scrollback/kuma,jwhitlock/kuma,chirilo/kuma,varunkamra/kuma,a2sheppy/kuma,mozilla/kuma,bluemini/kuma,bluemini/kuma,MenZil/kuma,ollie314/kuma,yfdyh000/kuma,surajssd/kuma,varunkamra/kuma,RanadeepPolavarapu/kuma,utkbansal/kuma,SphinxKnight/kuma,varunkamra/kuma,groovecoder/kuma,davidyezsetz/kuma,ollie314/kuma,darkwing/kuma,cindyyu/kuma,jwhitlock/kuma,MenZil/kuma,groovecoder/kuma,nhenezi/kuma,YOTOV-LIMITED/kuma,safwanrahman/kuma,jezdez/kuma,YOTOV-LIMITED/kuma,tximikel/kuma,bluemini/kuma,jgmize/kuma,RanadeepPolavarapu/kuma,robhudson/kuma,mastizada/kuma,tximikel/kuma,biswajitsahu/kuma,Elchi3/kuma,surajssd/kuma,scrollback/kuma,FrankBian/kuma,davehunt/kuma,ronakkhunt/kuma