Merge pull request #15 from saaros/master

Code refactoring with minor fixes and consistent indentation and style
pgmemcache: fix builds with sasl support (missing semicolon) [#17]
packacing: `make rpm` to build an rpm on fedora / rhel
Merge pull request #18 from saaros/rpm

packacing: `make rpm` to build an rpm on fedora / rhel