Added the API function changepoolprofile to change a pool's profile to the specified profile name.
Ability to add/remove profiles via API.
Fixed addpool to specify a profile or algorithm and sets defaults if nothing specified. Also added a new API function to change multipool strategy. Conflicts (resolved): sgminer.c