Added cut and paste tests to create_survey_spec.rb

Should consider moving this into its own spec.  This might have been
easier to do as a Cucumber feature than rspec, due to the Cucumber
Scenario Outline feature.  However, noticed Cucumber was removed from
Surveyor, so trying to keep it consistent.

Built a ScenarioOutline class in scenario_outline_helper.rb to simulate
scenario outlines.  Added a surveyforms_rearrangement_helper.rb file to
support testing cut and paste/drag and drop.  Implement cut and paste
tests only in this commit.

Surveyforms_rearrangment_helper.rb provides two shared_contexts, one
for cutting and pasting questions (question_cut_and_paste) and one for
cutting and pasting sections (section_cut_and_paste).  Both of these
include the CutAndPaste module, which is also found in
surveyforms_rearrangement_helper.rb, and use methods found in the module.
CutAndPaste acts sort of like a superclass, and the shared_contexts act like
subclasses.  The shared_contexts call methods in CutAndPaste, and CutAndPaste
also calls methods in the shared_contexts.

The cut and paste scenarios are initiated in create_survey_spec.rb, and then
control shifts to the shared_contexts and CutAndPaste module.  Note that the CutAndPaste
module initializes the Cucumber like Scenario Outline table (the same table works well
for testing both questions and sections).

Surveyor_gui.js had to change to facilitate testing.  Was having trouble getting
Capybara to wait for completion of jquery.  Opted to insert and remove classes at the
top div that Capybara can inspect before continuing execution.
	modified:   lib/assets/javascripts/surveyor_gui/surveyor_gui.js
	modified:   spec/controllers/surveyforms_controller_spec.rb
	modified:   spec/features/create_survey_spec.rb
	new file:   spec/support/scenario_outline_helper.rb

	modified:   spec/support/surveyforms_creation_helpers.rb: added a method to create
		    a survey with three unique sections.

	modified:   spec/support/surveyforms_rearrangement_helpers.rb
Finished cut and paste section scenario, discovered bug as a result, and fixed.

The top paste section button in surveyform had a bug.
	modified:   app/views/surveyforms/_survey_section_fields.html.erb: Top Paste Section button now passes
		    survey_section_id instead of survey_id to js.

	modified:   lib/surveyor_gui/surveyforms_controller_methods.rb: fixed bug in paste section and did some initial
		    refactoring.  More of this has to be pushed out into the model and maybe another class.

	modified:   spec/features/create_survey_spec.rb: got rid of :wip flags.

	modified:   spec/support/surveyforms_rearrangement_helpers.rb: finished paste section code.
Move rearrange survey examples into its own file.
	modified:   spec/features/create_survey_spec.rb - remove rearrange survey tests.

	new file:   spec/features/rearrange_survey_spec.rb - add rearrange survey tests.

	modified:   spec/support/surveyforms_creation_helpers.rb - remove unused module

	modified:   spec/support/surveyforms_rearrangement_helpers.rb - add some questions to
	the build_a_survey method to enable some more examples.
Merge remote-tracking branch 'upstream/master' into better_rails4