Add release_snapshot script

- Refactor most of script/release.rb into common file used by both
  release and release_snapshot scripts.
Prepare 0.1.10 release