build patches from Tizen Tools Team

The first patch is minor changes about --configdir parse issue.

The second patch is update uid/gid id not match, This is usefull to share build root between developers.

We plan to integrate this build module to Tizen SDK, so this feature is a must request, If this is not allowed any other way to create a build root, which can be used by other developers?

The third patch is a new option --keep-packs, this is still a new request by Tizen SDK, without --keep-packs option, build always remove useless package and when building another packages just removed packages will be installed again, this is not necessary. With --keep-packs, build can create a full build root env, which can build hundreds of packages with --noinit option and speed up building.

Please help to reivew these patches, If upstream have more correct way to implement these feature, we are pleasure to wait.

Thanks
Tizen Tools Team