PDIO-295.

Refactor output, pass Seq[Item] instead of Seq[Iid].
Merge branch 'develop' of https://github.com/PredictionIO/PredictionIO into develop