Some cleanups in 'api' branch

Review Request #2400 — Created June 15, 2011 and submitted — Latest diff uploaded

Information

RBTools

Reviewers

The patch fixes very basic issues of 'api' branch enough to make rb-create work. Also new config parser was implemented for rb-config using 'optparse' module.
Tested by hand and eyes.