Validate API examples. Rename files
Generate API doc for new examples
Check all expected files have an existent JSON file. Update list of expected files
Add command to run gofmt for bad formatted Go files
Remove obsolete API examples
Merge pull request #364 from marianitadn/test-examples

Merged by openshift-bot
Implement deployments with pods

Refactor the deployment mechanism to be exclusively pod based. Refactor
the deployment API accordingly. Improve test coverage, and provide the
foundational support for implementing more built-in deployment strategies.