Simplified some code by relying on ember defaults.

Also fixed the indentation in some of the files which had mixed tabs and
spaces.