Improve memory management for ec2 gahp calls in the gridmanager.
Include ec2 job support in the gridmnager on macosx and windows.