ledger: Clean-up dependencies, use ninja for build

Change urls to point to ledger organization on github.

I had these changes I made to the formula a while ago stashed away and forgot to merge them into my previous homebrew ledger pull request. Sorry for any inconveniences.