Limit docking to the applicable docking bay sizes.

# Description:
Limit docking of ship to the applicable docking bay sizes.

Currently any size of ship can dock with any size of docking bay, through any size of entrance opening. In theory this means someone could load in an LRC configured to be playable and attempt to dock with a regular internal bay of a space station.

Hilarious as that is, it's not very useful or realistic.

When I added the waypoint docking system and knowledge of the docking bays I also added sizes for the ships that could dock. Typically I used a range of 0 to 500 metres to allow any current ship to dock anywhere.

Now that I'm enforcing these limits nothing should break in the game but new stations can take advantage of the bay sizes to manage docking and grouping of ships into certain docking bay groupings.

Andy

Also:
Correct some lines endings.
Tidy up the iterator end checking in SpaceStationType.cpp