Branch sorted

Add ability to choose which branch to build.

Clean up code a bit. Change the base version of Jenkins to 1.464.