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.
I am personally against embedding next/prev pointers into the Phase object. It violates Single Responsibility Principle. Phase order is responsibility of PhaseList, not Phase.