some fixes for branch handling.
several overloads for /triggerbuild, including the one with username and password.
fixes for saving and loading log files