Add JSON validation to pecan transport driver 

As per topic.
Also updated JSON validation functional and unittest using latest basetests
Same here, all "style2"s have been fixed to "with_declared_rules" in latest commit.