Revert "Patch to allow install profile enabling to enable dependencies correctly."

This reverts commit 590c6452bbcdcae6eca275f4ca082696a4cddc96.
Patches used in the Commons core.

https://drupal.org/files/install_profile_requirements_on_install.patch
https://drupal.org/files/issues/drupal-optimize_node_access_queries-106721-D7-71-do-not-test.patch
https://drupal.org/files/issues/node_access_grants-static-cache-11.patch