[DOC beta] Fix syntax highlight
Merge pull request #3969 from tricknotes/code-highlight

[DOC beta] Fix syntax highlight
Fixes typo in error method documentation.
Merge pull request #3974 from abrinkman/master

Fixes typo in method documentation.
Cleanup test using Ember.$.trim

`String#replace(/\s+/g, '')` is the same as `Ember.$.trim`.
To simplify test code, I rewrite with the latter.
[DOC beta] Fix code highlight and add missing YUIDoc markup
Merge pull request #3979 from tricknotes/cleanup-tests

Cleanup test using Ember.$.trim
Merge pull request #3980 from tricknotes/fix-docs

[DOC beta] Fix code highlight and add missing YUIDoc markup