remove defunct knockout instance badge code
create overlay-url instance badge button
pep8
refactor instance badges dialog

code copied from proposal badges dialog
Merge pull request #620 from xi/feature-619-instance-badges

Fix instance badges