allow blocks to have an edit_url as data too.

If a block has an edit_url in it's data, it will be now used.
Merge pull request #457 from WouterSioen/patch-9

allow blocks to have an edit_url as data too.