Add collision detection for bullets

Bullets can now collide with ships. The bullets only collide with ships
from the opposing team and therefore there is no friendly fire.
Add energy handling

Firing bullets now requires energy. Getting hit by a bullet reduces
energy.  Energy regenerates automatically . If ship's energy is
completely depleted the ship is removed from the game.