Added flexible publish support

Added support for the Flexible Publish plugin to the JJB publishers.
Updated documentation and unit tests as well.

Change-Id: Id72a4b01f451ae2613b24347afb6493bf7641cd1
Merge "Added flexible publish support"