Liberals, Labor and Greens all agree legislation is needed to provide proper safeguards on advertising and election material in the coming campaign