Viewer 3 uses this in LLAgent::setStartPosition and copy_inventory_from_notecard; so I brought those up to speed with V3. The viewer now uses LLViewerRegion::getCapAPI in all the same place as V3.