Restructure Ember.libraries to be more idiomatic. Fixes #9291 and fixes #9339
Merge pull request #9312 from jayphelps/idiomatic-libraries

Restructure Ember.libraries to be more idiomatic. Fixes #9291