Added new API getPid for getting process ID Reviewed-by: mchung, rriggs
Added two new API's to limit the stack trace depth Reviewed-by: mchung, dfuchs, rriggs, egahlin
Reviewed-by: darcy, ihse