Install example's dependencies in grunt build

Examples can have dependencies to npm modules. Install those
dependencies during the copy-examples build step and include them in
the build output, which is consumed by the developer client.

Change-Id: I0f72239d0582512e432c04b524f729367ea7ee5d