Add a `version()` function to return crate version, refs #4