Added publish-snapshot command to sbt. The command automatically determines the index of snapshot, to avoid snapshots collisions