fix code example for Ember.String.capitalize()

Fix broken code example and two typos.