fixed typos in upton.rb
Merge pull request #7 from jkokenge/fix_upton_rb_typos

fixed typos in upton.rb
add url_to_filename helper, respect @stash_folder
better scrape_to_csv coping with different levels of nesting in arrays
Merge branch 'master' of github.com:propublica/upton
abstract out fetch_page method
add empty options hash to get_instance, _page, _index methods, better var names

options hash has instance_index value by default that gets passed all the way through, so get_page can differ based on it
url-to_filename takes options; retry on timeouts
preliminary rspec tests
add rspec
fully switch to rspec
Rspec specific changes

	modified:   Rakefile
* Added the default gem tasks. Changed the test task to run the rspec
command.

	renamed:    test/rspec_test_upton.rb -> spec/upton_spec.rb
* The file naming convention is filename_spec.rb. Modified the files as
  per that.

	modified:   upton.gemspec
* Added rspec as a development dependency in the gemspec.
Merge pull request #9 from kgrz/master

Rspec-specific changes
Deprecating :selector_method parameter

The Nokogiri API allows for the client to use `:search`, which will perform either a CSS or XPath node traversal depending on the syntax of the string. For now, I've made the references to :selector_method innocuous...whether the user specifies :css or :xpath, only :search is invoked. On the next iteration, :selector_method should be removed as the third argument.
add scrape_to_tsv method (in prep for abstracting that out)
Merge branch 'patch-1' of github.com:dannguyen/upton into dannguyen-patch-1
deprecate selector_method param; use Nokogiri #search instead
remove extraneous require
deprecate selector_method EVEN MORE
starting some RSpec flavored unit testing