1.0

/to @bajtos 
/cc @raymondfeng 

Please review the following.

https://github.com/strongloop/loopback-phase/blob/1.0/example/middleware.js => example for our middleware use case.

https://github.com/strongloop/loopback-phase/blob/1.0/test/phase.test.js => the phase API / test

https://github.com/strongloop/loopback-phase/blob/1.0/test/phase.test.js => the phaseSet API / test

Also take a look at the example in the README.md. Everything else is copied from loopback-boot.
Can we use a simple array as the backing structure instead of building a linked list?

The linked list as it is implemented now can be easily corrupted: `phases.find('foo').next = new Phase()`. It also violates [Single Reponsibility Principle](http://en.wikipedia.org/wiki/Single_responsibility_principle).