Revert stripping shlib versions from e127d91d4.

This is not right and is similar to stripping versions from packages. No
sane decision can be made from it. It also broke pkg [r]query %B output.
pkg {register, check -B}: Fix registering provided shlibs as required
Get rid of pkg_register_shlibs() and use pkg_analyse_files() in pkg create.

This avoids bugs such as ca3dd25a6.
The code was nearly identical, update it to also clear the list of
provided/required shlibs when called as well.

This also fixes pkg create not calling analyse_fpath().

This also enables DEVELOPER_MODE strict shlib analysis in pkg create.
When analysing ELF files with DEVELOPER_MODE, don't bail on first error