common fix up require includes
comments
refactored plugins.php

changed to use plugin_info instead of loading dir listing, changed to
not use filenames to toggle plugins, uses plugin id, legacy still works.