Add hostname and port parameters to margarine.ini.

The hostname and port parameters need to be configurable via attributes.
This connects the last piece for ensuring that happens.

The logic also needed to be changed to a string rather than a symbol in
case the attribute is set as a JSON object (which it will be).