SharePoint: updates to workflow definitions and status

Renamed restrictScope to restrictToScope and made parameters optional in Status.addStatus