raise errors if numpy not present but functions that call it are called

somehow missed some "missing numpy" handling and removed some mercurial stuff from setup.py