Preserve api compatablity with previous version.

Support adding commitstatus without context.