Create public API with one function and bump version to 1.0.

Matches wiki page nodejs API.
Add test-public-api.
Fixes #915
That's the only other thing clients are currently depending on.