Add set and auto to alternatives

Add support to manually set the alternative
path for a name and to restore the name to
auto mode.

Change-Id: I36a816a7068ed8af8f60a6fbe3bdaf1bdca6c825