Make sure nested/referenced models in array are mapped to swagger

patch for https://github.com/strongloop/loopback-explorer/pull/44

Signed-off-by: Clark Wang <clark.wangs@gmail.com>