Move debugger.cc GetCanonicalMethod to ArtMethod

This functionality will be useful to other parts of the runtime so put
it in a more central place.

Test: ./test.py --host -j40
Change-Id: I4d19cc1016884f5921245ac284c7323cbf3ea8cd
3 files changed