Automatically download, install and activate plugins that my plugin depends, how?

TGMPA is a useful php class to perform the required actions: http://tgmpluginactivation.com/