Beam weapon customisation

Beam weapons can now have custom width, lifetime and colour.
Beams now decay over time.
Fixed undocking while still holding a module

There was an issue which allowed undocking while still holding a module.