fix all examples to conform with yuidoc example syntax

remove all markdown code syntax for replacement with yuidoc
example indenting (4 spaces)
the markdown syntax was not generating code blocks correctly
Merge pull request #162 from mikepmunroe/api-examples-to-follow-yuidoc-syntax

fix all examples to conform with yuidoc example syntax
fix case in cast documentation
revert back to github markdown style code examples, so they are compatible with ember's website.

Hopefully we can bring this back in the future.
Adds named function for promise callbacks

[Related PR](https://github.com/emberjs/ember.js/pull/3876).
remove fail, as catch is what the spec defines.

es3 users can use that `promise['catch']` syntax
Merge pull request #167 from twokul/relevant-stack-trace

Adds named function for promise callbacks
updated derived promise label verbiage
Removing asap unload listener. Allows back/forward page cache, chrome bug is old. Fixes #168
Merge pull request #169 from jakearchibald/master

Removing asap unload listener
Twiddle text node for asap flush

Some buggy browsers or polyfills will not trigger a mutation if an
attribute is set to the same value.
Ensure `iterations` does not overflow
Merge pull request #171 from josh/asap-twiddle-text-node

Twiddle text node to trigger ASAP flush
share a noop function between chains
more idiomatic es6 module usage.

- expose all and race on the Constructor to match the spec
oops, fix test helper
more es6 modulification
tidy-up Promise.race, also make it work with subclassing.
all should use cast for thenables
Merge pull request #173 from stefanpenner/cleanup_all

all should use cast for thenables