Vestorly/torii — pull request #34 by bantic (2014-06-25 16:54:40+00:00)
Title: Makes initialization happen automatically when using ember-addon

This refactors the ember-addon story for Torii to work a little more cleanly.
It also gets rid of the 'torii/ember' module with side effects, in favor of defining the initializers in the format that [ember-load-initializers](https://github.com/stefanpenner/ember-load-initializers) expects.

_do not merge yet_

Stil to do:

* [ ] update README to explain how to install Torii when using ember-cli/ember-addon
* [ ] update REAMDE to explain how to install Torii when simply using the bower package
* [ ] publish the npm module 'torii'
* [ ] probably bump the version number to indicate that the changes — perhaps this is time to move off the '0.0.x' versions

* remove torii/ember
* move initializers into lib/torii/initializers
* add copy:appAddOn task that moves initializers into
app-addon/initiailizers so that ember-cli's loadInitializers can
auto-load them
* add copy:vendorAddOn task to move built named amd dist into
vendor/torii/torii.amd.js. This is a nice namespacing for the
app.import statement that ember-addon's `included` hook calls
* modify ember-addon's `included` hook so that it explicitly declares
the torii module exports that the initializers will need