Add post Plan in YAML

the API now supports Post of plan in YAML format, so this patch updates
the client post method according to the api changes.

Change-Id: I6763ff3bb82625a56c86b5f2a5c71ade4dc76594
Related-Bug: #1309493