Fix gcc error on newer Ubuntus; add gemspec.

This fixes installation on newer Ubuntus and other distributions where -Werror=format-security is used. It also adds a gemspec which (beside being a good thing in itself;-) allows to use a git repository source in bundler.