added min numpy check, fixes #305

And added a bit of framework for other version checks.