Autoconfiguration for cloud hosting environments, OpenShift support

This seems like it'd be more clearly written as:

    Config.bind_address = cloudenv.get('IP', Config.bind_address);

(Remember to rename `bind_address` as discussed elsewhere in the comments.)

The next part can also be refactored this way.