Appmaster dynamic port

#70
Allow AppMaster to use dynamic port