Change rails3 + rails4 plugin to just rails
Add PHP_AUTOCONF