Bug 896297 - New profile builder api.

New command line option --profile-builder X to replace profile builder.
New command line option --profile-base X used to set the default profile preferences.
doc cleanup + lint