changes changeset_issues join table to be changeset_work_packages

This will enable workpackages (issues and planning elements) to have changesets applied
allows for rendering pdf from work_package#show

This will break changset rendering on the issue page
lets textile handle refs to planning elements and issues equally
updates changelog
prevents naming collisions on admin factory
stubs User.current in test to avoid side effects
Fix cuke login issue
Revert commit 4057bb0 and fix cukes instead
Fix rspecs
Move .link_to_if_authorized tests to rspec
Moved .textilizable test to rspec
Moved redmine link test to rspec
Moves contents of PlanningElementType into Type.

This leaves PlanningElementType an almost empty subclass of Type, soon
to be removed entirely.
Adds fields from PlanningElementType into Type.
Move wiki link tests to rspec
Merge branch 'feature/rails3' into feature/changesets_on_work_packages

Conflicts:
	features/projects/settings.feature
	test/unit/repository_test.rb
Fix cukes after merge of #067a45c
Fix specs after merge of #067a45c
Use strong parameters for type
Merge branch 'feature/rails3' into feature/merge_planning_element_type_with_type