Disable signing for snapshot builds

Signatures are only really needed for releases; executing the signing
plugin on snapshot builds is unnecessary and can interfere with
continuous integration systems (see, e.g., the current build breakage
on Travis CI). This patch signs only when executing the release phase.

Closes #10