Auto appscale install

Check out the code; comments welcome.  Please don't merge into testing until code review is done within this pull request.