using express-state to send all the yui configs into the client side

__IMPORTANT__: this is a non BC change

TODO

 * [x] old tests
 * [ ] new tests for client side code
 * [ ] docs
 * [x] test examples