Refactor the problem merge system

* Extract the Problem#merge! in his own class
* Extract the update cache system from problem in his own class
* Welcome back to the backtrace_line_spec not found by a rspec spec
  because no end by _spec.rb
Merge pull request #482 from shingara/fix/issue_447

Refactor Problem.merge!