Refs #39:
- took a shot at autodetection of OpenSSL library version. works only for system-wide install though.
- made rpm.sh to build statically linked tarballs (yass, zlib, libevent). RPMs are still dynamically linked.
Merge branch '2.x' into 3.x

Refs #39 - merging fix to 3.x