Changes 'examples' to depend on api instead of basic-stages.

The dependency on basic-stages is due to old project structure where AbstractStage lived outside api.

Also adds examples to parent build.