fix resque start
tests for issue #1984
retrieve settings with symbols
Stub for Dir.chdir as it is not needed
Fix #2058 diff problem of non ascii paths and non utf-8 file encoding
Merge pull request #2100 from hiroponz/fix_non_utf8_file_encoding

Fix #2058 diff problem of non ascii paths and non utf-8 file encoding
Revert raphael-rails in order to make network work correctly
Validate username. Gitlab::Regex added
Cover ProjectMover with tests
Increased test coverage
Don't escape Html in patches

Fixes #2036
Register diff mime type
Add Commit#to_diff for raw diff
Add diff format to commit#show
Add specs for exporting commits as diff or patch
Remove merge_request#raw and replace it with formats to #show

Needed to add a constraint on the id. Otherwise the format was parsed as part of the id.
Remove MergeRequest#to_raw and replace it with #to_diff and #to_patch
Add specs for exporting merge requests as diff or patch
Change "Get Patch" buttons to dropdowns orffering patches and diffs
Fix http push with namespaces. Allow use of username as login