AP for destroying portal

Calculate AP gained from destroyed resonators + link
TODO: fields :)
Added toggle to collapse sidebar
Revert "Added toggle to collapse sidebar" due to old code in commit

This reverts commit 9440e432de91816b5c7d72ea4e12038f88e87bed.
Added toggle to collapse sidebar (without old code this time)
probably fix #90
add hooks framework and add hook for portal added (fixes #87)
portal mods for unclaimed portals were missing border
Made toggle arrow longer & removed unneeded DOM manipulations
Added cmrn to contributors
add permalink feature
increase max size for portals, otherwise unclaimed ones are really hard to see
merged upstream changes
Merge pull request #81 from cmrn/collapsable-sidebar

Collapsable sidebar (patch by cmrn)
leaflet zoom buttons would be at wrong location after shrinking chat again
Made the sidebar transparent like the chat box
change portal level number shadows, so they simulate a solid outline
added self to Contributors
improve portal number separation from background (trick by jonatkins)
fixed #100 by explictly setting encoding (credit to breunigs)
Merge pull request #105 from cmrn/bug/100

fixed #100 by explictly setting encoding (credit to breunigs)