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
Merge remote-tracking branch 'upstream/master' into better_rails4
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
Revert "life is better with colors"

This reverts commit dd0fdfbd9e3987eaa96de1b36f499394abd28524.
Fixed error on line 47 of spec/models/question_spec.rb.

Surveyforms_create_helpers.rb had a def named "answers" which conflicted
with the answers method of question objects.  Switched name to
"add_answers".
	modified:   spec/features/create_survey_spec.rb
	modified:   spec/support/surveyforms_creation_helpers.rb
Added test to cut and paste both sections and questions.

Refactored some code in surveyforms_rearrangement_helpers.rb
	modified:   spec/features/rearrange_survey_spec.rb
	modified:   spec/support/surveyforms_rearrangement_helpers.rb
Merge remote-tracking branch 'upstream/master' into better_rails4
add missing :id parameters
update specs as edge surveyor, 0 failures :tada:
Merge pull request #2 from alepore/edge_surveyor

Update for edge surveyor
Merge branch 'answers_from_text' of github.com:kjayma/surveyor_gui into answers_from_text
Added answers_collection method to Question model
Merge branch 'answers_from_text' of github.com:kjayma/surveyor_gui into answers_from_text
Merge branch 'answers_from_text' of github.com:kjayma/surveyor_gui into answers_from_text
Switching creation of answers to textbox instead of rows.

Passes tests except features.  Precursor to adding grids.
	modified:   app/models/permitted_params_decorator.rb
	modified:   app/views/questions/_picks.html.erb
	modified:   lib/assets/javascripts/surveyor_gui/surveyor_gui.js
	modified:   lib/assets/stylesheets/surveyor_gui/surveyor_gui.sass
	modified:   lib/surveyor_gui/models/answer_methods.rb
	modified:   lib/surveyor_gui/models/question_methods.rb
	modified:   spec/features/create_survey_spec.rb
	modified:   spec/models/surveyor_gui/question_spec.rb
	modified:   spec/views/questions/edit.html.erb_spec.rb