updated code samples in guides and tutorials
update every api doc up to but not including widget.md
finished updating api docs
Merge branch 'master' into 823928
fixed require statements for test
merge from master; update review comments
Merge pull request #713 from wbamberg/823928

Fix for bug 823928: the examples are not reflecting the new layout changes