'ensure base_url starts and ends with /'

@validate('base_url')
def _validate_base_url(self, proposal):

    value = proposal.value
    if (not value.startswith('/')):
        value = ('/' + value)
    if (not value.endswith('/')):
        value = (value + '/')
    return value
