Add API docs and how-to-guide directives

Placed directives in 'components' directory
Update getting-started guide to use API and how-to directives
Merge pull request #272 from matthewdunsdon/web/feature/api-and-how-to-directives

Add API docs and how-to-guide directives