adding farm mode support

Adding code to configure farm mode, with updated documentation.

The second part of the fix for WardCunningham/Smallest-Federated-Wiki#413