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.
Disable autocompletion for login forms and password fields
Defer callback registering until after the DOM has loaded.

This is required to enable the callback for AJAX functions in plugins.
Disable autocomplete on forms with login password fields

Includes login, register, change password and user admin pages.
added some specs for format_activity_description

from application helper
fixed link to user on activity view if user given

- whitespace fixes
fixed escaped html in activity view
Merge pull request #176 from opf/feature/fix-csrf-for-ajax-in-plugins

Defer callback registering until after the DOM has loaded.
Fixed scenariodisabler to create an empty step_collection instead of relying
on an already-initialized step collection and emptying it
format_activity_description spec to check ..

escaping of potentially harmful code
Merge pull request #181 from opf/feature/rails3_fix_activity_view

Fix activity view double escaped strings
Reenable autocompletion for register form except password

Also remove superfluous autocompletion disabling of the
user/edit and user/new password fields.
added requires_openproject to Redmine::Plugin

- method to check OpenProject core version from the rails3 plugins
Merge pull request #174 from opf/feature/rails3_disable_password_autocompletion

Disable autocompletion for login forms and password fields
added deprecation warning for ...

- Redmine::Plugin.requires_chiliproject() and
- Redmine::Plugin.requires_redmine()
Merge pull request #182 from opf/feature/rails3_fix_scenario_disabler

Fixed scenariodisabler to create an empty step_collection instead of rel...
removed requires_chiliproject and requires_redmine

completely
No migrated plugin should use the old methods and
the rails2 versions are not compatible anyway
fixed plugin unit tests
Merge pull request #183 from opf/feature/rails3_add_requires_openproject

Add requires_openproject to Redmine::Plugin, remove redmine and chiliproject variants
Removes debugger statement introduced in c1bfd520