Add more variants of G_LineOfSight, modify the semantics a bit.
Increase alien teammate heal range and apply a 4× modifier for three or more aliens.
Merge branch 'master' into gameplay/viech
Move build point and mining related functions to new file g_buildpoints.cpp.
Tentative approach to have RGS store a fraction of the team's build point pool.

The fraction is proportional to the part of the teams total earnings that was
acquired by the RGS in question. The initial build points (including those used
by layout structures) count as acquired, so losing RGS early on isn't punished.

Whenever a RGS is destroyed or deconstructed, its share is distributed evenly
by removing it from the account of total build points acquired.

The implementation is currently lacking a proper visualization.
Remove leftover debug output.
Fix minimum build point generation being added twice to the account of mined build points.
Refactor g_buildpoints.cpp a bit.
Add current mine rate and stored build points to buildable status displays.
Store remaining BP in the main structure. Only lose a fraction if a BP storage gets destroyed.

The fraction of BP lost can be set in g_buildPointLossFraction.
Don't add or remove momentum when the main structure gets built or deconstructed.

For destroying main structures, a fixed value is assumed (20 BP).
For other structures, always use the build point price as the buildable's value.

This fixes #325.
Reward momentum to enemy attackers if a hurt structure gets deconstructed.
Rename g_confidence.cpp to g_momentum.cpp.
Fix build.
Fix momentum reward size for killing players.

This was broken in 9c99291.
Buildables don't heal if they're not powered.
Merge remote-tracking branch 'origin/master' into gameplay/viech
Fix beacon highlighting.
Merge branch 'master' of https://github.com/Unvanquished/Unvanquished into beacons-radar
Merge remote-tracking branch 'origin/master' into gameplay/viech

Conflicts:
	src/gamelogic/game/g_public.h
	src/gamelogic/game/g_utils.cpp