Fix up loopback.rest() model definition hack.

In its previous form, array return types were being returned simply
as {type: 'array'}, with their `items` definition forgotten.
Merge pull request #15 from STRML/master

Fix up loopback.rest() model definition hack.