Add add_modules_used xmlrpc function.

Change-Id: Ie06a00350338dc13d8a5f60c54b303cece1428c1