Answering a challenge from Matthew McCullough at JAX, Aslak wrote up a tutorial for how to import your project's history into Sonar in this gist:
https://gist.github.com/2422117