Maybe one of the Canon rebel cameras? They're cheap enough, and you can then use Sparkocam for webcam. Canon sensor isn't too small so it shouldn't be that bad in dark environments and plus you can use magic lantern to bump up quality once warranty runs out and you're feeling adventurous.
I have limited knowledge on canons so double check this stuff, but I hope this helps.
