AP gained from destroying a portal

Calculate AP gained from destroyed resonators + link
TODO: fields :)