Fix build problems

@Dylnuge @cyril-sf 

See commit messages. Cyril helped with the first commit (ember-template-compiler), Dylan will care about the second commit.
Using `peerDependencies` seems more appropriate

http://blog.nodejs.org/2013/02/07/peer-dependencies/