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