accomodate optional snippets; fix deprecations
Version bump to 1.0.4
update gemspec
ignore gem and .svn