Don't build dvi

We don't use them and it speeds up the build a little bit.
Don't add includes to both CPPFLAGS and CXXFLAGS
Use nanosleep instead of usleep
Use Utility::usleep instead of usleep
Fixup the static binaries check

It did set a variable which wasn't used (debug)
and didn't display a result.

Now we display the default, and yes/no properly

This still doesn't change the fact that --enable-static-binaries
doesn't do the right thing, but I'll fix that in another patch.
Replace hardcoded -llmdb with variable

and rename the variable to be consistent
with what we do for other libs
Remove hardcoded -lsqlite3 with variable
Replace hardcoded -lmysqlclient -lz with variable
Replace hardcoded lib with variable
Don't run automake twice

autoreconf already does that.
also run autoreconf in verbose mode
Use includes relative to top srcdir

This change is needed since I'd like to clean up
the includes in remotebackend, and that module
uses pkcs11signers.cc as source
Add json to the Gem bundle

This fixes the unit tests on Fedora Rawhide

unittest_pipe.rb:5:in `require': cannot load such file -- json
(LoadError)
Merge pull request #1776 from rubenk/add-json-to-bundle

Add json to the Gem bundle
Merge pull request #1765 from cmouse/replace-usleep-sqlite3

Replace usleep sqlite3
Merge pull request #1775 from rubenk/bootstrap

Don't run automake twice
Merge pull request #1761 from rubenk/fix-duplicate-includes

Don't add includes to both CPPFLAGS and CXXFLAGS
Merge pull request #1768 from rubenk/fixup-lmdb

Replace hardcoded -llmdb with variable
Merge pull request #1771 from rubenk/replace-lsqlite-with-var

Remove hardcoded -lsqlite3 with variable
Merge pull request #1772 from rubenk/fixup-mysql

Replace hardcoded -lmysqlclient -lz with variable
Merge pull request #1773 from rubenk/fixup-ldap

Replace hardcoded lib with variable