[#437] Move the encoding to the top of pdf.rb for Ruby 1.9
Merge branch 'release-v2.0.0' into unstable

Merging during the release to make sure everything is passing in CI,
which isn't set up to test release branches.
Fix test on 1.9.2 postgres.

Multiple records were found and postgres was returning them in a different
order than what the test assumed.
Merge branch 'stable' into unstable
Merge branch 'stable' into unstable
Merge HTML head section
Port main layout
Port ApplicationHelper patches
Add the CSS, including resets
Add JavaScript
Add images
Fix hardcoded image path
Clean up footer
Remove the list of versions from sidebar, will be moved to menu
Add welcome text to the project list
Merge issue context menu changes
Port issue history changes
Port the issue filter section on the issues list
Cleanup styles in the issue filter section
Add the new issue button partial