Simplify the build system.

Remove the `configure` script and the Makefile. This disables optional SSL,
but allows us to switch to Cargo completely. Code generation is now in its own package,
and is called from Cargo through `prebuild.sh`.

The `doc` folder was renamed to `documentation` to avoid deletion when
running `cargo clean`. The examples were moved to the root so they get built when
running `cargo test`.
Update README and examples for build sys changes.

And make the shell script BSD friendly again.
Merge pull request #119 from michaelsproul/build-fix

Simplify the build system and switch to pure Cargo.