use git hash instead of svn revision
fix build without zlib support
add .gitignore
use cmake for building (yet only supported on linux)