Return to old user experience of clicking on portal link replaces
current page.

Rationale: Users have several options of opening a link in a new
tab/window without the target, whereas with the target, users have no
option of reusing the same window.
retrieve correct resource id when package name is overriden
Fix minor typo.
Fix the calculation for Link Amp range boost to be generic, so VRLA boosts are correctly calculated.

For RLA, the first multiplier is 2x. Subsequent RLAs add 0.5, 0.25, 0.25 to the multiplier. But expressed as a fraction of the initial multiplier, this is 0.25, 0.125, 0.125. Scale array has been updated to reflect this. This means the "-1" in the calculation is no longer required, and that boost is correctly calculated when baseMultiplier is anything other than 2 (eg VRLA, when it is 7).
If there aren't any Link Amps, the multiplier is 1x.
Merge pull request #704 from khabraken/master

Fix the calculation for Link Amp range boost to be generic, so VRLA boos...
Merge pull request #703 from nexushoratio/proofreading

Fix minor typo.
add a js debugger breakpoint into 'unknown hook' error case
use the correct hook for portal details loaded
further to #704, use the existing function to both filter and sort link amps, so (in theory) combinations of rare+very rare are handled correctly
portals list plugin: various cleanups/tweaks to earlier changes
tweaks to the request/retry settings
portals-list: more cleanups
- columns have a default sort order which is always used when first selecting one - a second select toggles the order
- display '-' instead of '0' for no links/fields (any suggestions for resonator count, to make botu '8' and '0' visibly distinct?)
- pre-convert portal names to lower case, to avoid ecxessive conversion in soting
Merge pull request #699 from nexushoratio/portal-link

Return to old user experience of clicking on portal link replaces
si8debar fixes:
- ensure consistant display based on portal details, by creating portal summary data from details
- pass field count into AP calculation, for accurate destroy amounts
- use portal.options.level, so unclaimed appear as zero