Clean up dependencies.
Rename models.json to model-config.json

As required by the last-minute change in loopback-boot.
Merge "rest/" into "server/"

To follow the latest 3.0 layout.
Move "models/" to "common/models/"

To follow the latest 3.0 layout.
Nest "lbclient" and "ngapp" under "client" dir

To follow the latest 3.0 layout.
server: code cleanup

Remove unused code, use the features available in the latest 2.0.0
versions of loopback.