Convert remaining assert()s to throw khmer_exception()s

Addresses #215 
Why not just NULL == cache?