factor out queryserializer trait to allow engines to implement query serializer trait
Merge branch 'develop' of https://github.com/PredictionIO/PredictionIO into develop