Fix: features deprecated in Rails

find(:first) and find(:all) are deprecated in favour of first and all
methods. Support will be removed from Rails 3.2
Fix: Expressions can be simplified
Fix: unnecessary semicolon
Fix: removed unnecessary parentheses
Fix: unnecessary return value
Fix: removed unused parameters
Merge pull request #1328 from benjaminvialle/CodeInspection

Code inspection
Modifying routing-filter for locales for subdomains
Fix: making locales optional
Fix: tests
Removing unnecessary comment
config.action_view.debug_rjs is removed in Rails3.1

Onwards you will need to install prototype-rails to continue to use
RJS templates
Revert to old hash syntax in routes
Merge pull request #1332 from benjaminvialle/debug-rjs

config.action_view.debug_rjs is removed in Rails3.1
Merge pull request #48 from danielstjules/pr/1331

Revert to old hash syntax in routes
Merge pull request #1331 from benjaminvialle/routing-filter

Routing filter
Simple_format was adding  <p> and </p> on new annotations.
When it was removed, the issue 1299 was solved.
There was a wrong ancient commit that changed link_to_function to button_to.
However, to make it work correctly it should be button_to_function.
Configuring MarkUs to work with ruby 2.0
 Engine syck depreciated, changed to  'psych'