Added connection api and validation script

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Added dialog docs

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Added toast docs

Reviewed by Bryan Higgins <bhiggins@blackberry.com>