Allow explicit turning off of options.

Now there is a way to specify cmake to skip linking with undesired
libraries.

Fix rpm spec to include libevent and optional Judy.