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

Matches wiki page nodejs API.
Add test-public-api.
Fixes #915
and so it begins.