locale selection in survey UI #427

The locale is modified by submitting the survey via javascript
onchange of a select box. The feature is not visible when javascript
is disabled. The current section is kept when changing languages and vise versa.

A work-around for #426 is provided here, which uses I18n fallbacks and
'default' locale if the default locale of a survey is not provided.
traslations for language label #427
moving javascript out of view. refactoring section params
:default locale mandatory w/ translations #426

Default locales are specified by e.g.

"translation :en => :default"

multiple default locales can be specified, they will all point to the
survey text.
add default locale to example #426
source https://www.rubygems.org because :rubygems uses HTTP, which is insecure
Merge pull request #437 from alanjcfs/change-source-to-https

make bundler source https because :rubygems uses HTTP
Merge branch '426_survey_locale' into 427_add_locale_selection

* 426_survey_locale:
  add default locale to example #426
  :default locale mandatory w/ translations #426
  refactoring for readability
  fixing parser spec
  recording changes
  change variable name and spec description #429
  recording changes
  Removed extra section step
  change method name #429
  Removed extraneous whitespace and coding style changes for simpler comparison
  Fixed bug in redcap_parser where dependency conditions with a question and answer reference are not be parsed correctly
  specify source of survey when parsing #429

Conflicts:
	lib/generators/surveyor/templates/surveys/languages.rb
locale UI test, remove fallback locale #427
Merge branch '426_survey_locale'

* 426_survey_locale:
  add default locale to example #426
  :default locale mandatory w/ translations #426
remove I18n fallbacks #427
Merge branch '427_add_locale_selection'

* 427_add_locale_selection:
  remove I18n fallbacks #427
  locale UI test, remove fallback locale #427
  moving javascript out of view. refactoring section params
  traslations for language label #427
  locale selection in survey UI #427
recording changes
Small fix to get show.html.haml working
Merge branch 'master' into my-master