support conventional domain name with one or more dot

Formal domain name will have one or more dot within the name,
meantime, it's common for one company own several domains,
for example abc.com and abc.net. But currently keystone
multi-domain support only supports domain name without '.',
because the wrong way that get the domain name from domain
config file name.

Change-Id: I152cd3b513353e3d4c565e71c8755789d24e1a0e
Closes-Bug: 1257171
Fix create_region_with_id raise 500 Error bug

1. add sql.handle_conflicts wrapper in sql backend driver.
2. check duplicate region id in kvs backend driver.
3. add 2 test cases to check exception.Conflict when create duplicate id region.

Closes-Bug: #1283904

Change-Id: Icfc5edf661501a5c134f324a76824812dbda2760
Merge "support conventional domain name with one or more dot"
Merge "Fix create_region_with_id raise 500 Error bug"