remove  translations for unsupported languages

At the moment we are a relatively small community. We don't speak most
languages, which where supported previously. This resulted in a lot of
differences in quality and quantity of our translations.

We happily add languages again, if we find a maintainer for that
language.
Fixes waiting for Ajax in Cucumber:

* old implementation did not actually wait,
  but just checked once whether jQuery or Prototype provided
  any signs of ajaxy activity. It did not actually do anything
  with this information.
* the new implementation waits (busily!) 'til PT and jQuery
  have no signs of ajax anymore. If that takes to long,
  it'll raise Timeout::Error.
Merge branch 'feature/rails3' into feature/rails3_drop_translations_we_cannot_support_at_the_moment
fixes failing cuces
ajax without session gives us a popup.

the popup asks if we want to redirect to the login page.
Refactors current REST API into api/v1

This is to make room for the timelines API to join as api/v2.
Refactors current timelines API into api/v2.
Merge commit 'feature/rails3' into feature/better-api-refactoring

Conflicts:
	app/assets/javascripts/timelines_select_boxes.js
	app/controllers/authentication_controller.rb
	app/controllers/colors_controller.rb
	app/controllers/planning_element_journals_controller.rb
	app/controllers/planning_element_statuses_controller.rb
	app/controllers/planning_element_types_controller.rb
	app/controllers/planning_elements_controller.rb
	app/controllers/project_associations_controller.rb
	app/controllers/project_types_controller.rb
	app/controllers/reported_project_statuses_controller.rb
	app/controllers/reportings_controller.rb
	app/controllers/scenarios_controller.rb
	app/controllers/timelines/timelines_principals_controller.rb
	app/controllers/timelines/timelines_projects_controller.rb
	app/controllers/timelines_controller.rb
	app/models/alternate_date.rb
	app/models/color.rb
	app/models/enabled_planning_element_type.rb
	app/models/planning_element.rb
	app/models/planning_element_scenario.rb
	app/models/planning_element_status.rb
	app/models/planning_element_type.rb
	app/models/project_association.rb
	app/models/project_type.rb
	app/models/reported_project_status.rb
	app/models/reporting.rb
	app/models/scenario.rb
	app/models/timeline.rb
	app/models/timelines/available_project_status.rb
	app/models/timelines/default_planning_element_type.rb
	app/views/colors/confirm_destroy.html.erb
	app/views/colors/edit.html.erb
	app/views/colors/index.html.erb
	app/views/colors/new.html.erb
	app/views/planning_element_types/confirm_destroy.html.erb
	app/views/planning_element_types/edit.html.erb
	app/views/planning_element_types/index.html.erb
	app/views/planning_element_types/new.html.erb
	app/views/planning_elements/confirm_destroy.html.erb
	app/views/planning_elements/confirm_destroy_permanently.html.erb
	app/views/planning_elements/confirm_move_to_trash.html.erb
	app/views/planning_elements/edit.html.erb
	app/views/planning_elements/index.html.erb
	app/views/planning_elements/new.html.erb
	app/views/planning_elements/recycle_bin.html.erb
	app/views/planning_elements/show.html.erb
	app/views/project_associations/confirm_destroy.html.erb
	app/views/project_associations/edit.html.erb
	app/views/project_associations/index.html.erb
	app/views/project_associations/new.html.erb
	app/views/project_types/confirm_destroy.html.erb
	app/views/project_types/edit.html.erb
	app/views/project_types/index.html.erb
	app/views/project_types/new.html.erb
	app/views/reportings/confirm_destroy.html.erb
	app/views/reportings/edit.html.erb
	app/views/reportings/index.html.erb
	app/views/reportings/new.html.erb
	app/views/reportings/show.html.erb
	app/views/scenarios/confirm_destroy.html.erb
	app/views/scenarios/edit.html.erb
	app/views/scenarios/new.html.erb
	app/views/timelines/_comparison.html.erb
	app/views/timelines/_general.html.erb
	app/views/timelines/_vertical_planning_elements.html.erb
	app/views/timelines/confirm_destroy.html.erb
	app/views/timelines/timelines_colors/index.api.rsb
	app/views/timelines/timelines_colors/show.api.rsb
	app/views/timelines/timelines_planning_element_statuses/show.api.rsb
	app/views/timelines/timelines_planning_element_types/show.api.rsb
	app/views/timelines/timelines_planning_elements/_edit.html.erb
	app/views/timelines/timelines_planning_elements/_table_header.html.erb
	app/views/timelines/timelines_planning_elements/confirm_destroy_all.html.erb
	app/views/timelines/timelines_planning_elements/confirm_restore_all.html.erb
	app/views/timelines/timelines_project_associations/show.api.rsb
	app/views/timelines/timelines_project_types/show.api.rsb
	app/views/timelines/timelines_projects/show.api.rsb
	app/views/timelines/timelines_reported_project_statuses/show.api.rsb
	app/views/timelines/timelines_reportings/show.api.rsb
	app/views/timelines/timelines_scenarios/show.api.rsb
	app/views/timelines/timelines_timelines/_form.html.erb
	db/migrate/20130409133709_create_timelines_available_project_statuses.rb
	db/migrate/20130409133711_create_timelines_enabled_planning_element_types.rb
	db/migrate/20130409133712_create_timelines_default_planning_element_types.rb
	db/migrate/20130409133720_add_deleted_at_to_timelines_planning_elements.rb
	lib/extended_http.rb
	lib/hooks/activity_index_head_hook.rb
	lib/hooks/view_projects_form_hook.rb
	lib/nested_attributes_for_api.rb
	lib/timelines/hooks.rb
	lib/timelines/pagination.rb
	lib/timestamps_compatibility.rb
	spec/controllers/timelines_projects_controller_spec.rb
	spec/factories/timelines_alternate_date_factory.rb
	spec/factories/timelines_available_project_status_factory.rb
	spec/factories/timelines_default_planning_element_type_factory.rb
	spec/factories/timelines_enabled_planning_element_type_factory.rb
	spec/factories/timelines_planning_element_journal_factory.rb
	spec/factories/timelines_project_factory.rb
ensures cleaning up User.current after each step

When User.current is set by a spec, an instance variable of the class
gets set to the provided value. This instance variable is not reset
between specs to the next spec will "profit" as well.

This commit implements cleaning up after such lazy specs.

The lazy specs should be improved so that this cleanup is no longer
required. However I do not have the time to do this right now. As a
reminder I implemented a very verbose warning which should give us
enough of an encouragement that we will improve the specs eventually.
removes setting User.current in spec
changed status code back to 401.
removed test which is not valid anymore.
Removes debugger statement introduced in c1bfd520
Merge pull request #187 from opf/fix/debugger_statement

Removes debugger statement introduced in c1bfd520
Removes debugger statement introduced in c1bfd520
Updates copyright notice in timelines sources.

This also fixes some of the broken license headers after the previous
merge.
Restores original migrations.

This changes everything, again!

Changing migrations was not the right way to to do it. Instead, this
restores the original migrations and adds a new migration that includes
all changes that are needed for the changed models.
Fixes module in module inclusion.

Extend works on class methods.
Moves remaining helper out of timelines namespace.
Changes Color to PlanningElementTypeColor

Removing the timelines namespace led to this conflict, which should be
resolved by prefixing what the color is for. It is for planning element
types. This also changes the colors table name and moves the views.