fix a few mistakes in PR #647
add chain test button under gen-contact visibility
add an adaptive timeout to the chain runtest in batch
add int location url
fix for allowing batch type that do not correspond to campaign or chained campaign
several bug fixes and one that disable viewing the injection command through restapi
do not check for approval value one automatic chain submission