Branches cleaning.
Slight changes in functional tests.
Slight changes to ease Rails 2.2 support.
Scramble PDF title (#1204).