lpar: Add -s/--set option and create valid_repo_name()

Use -s/--set instead of defining lpar.name manually. Also create and
display $allowed_str if the name is invalid.

ef7e0816-cf8c-11e3-8ddb-c80aa9e67bbd