Moved PluginLoader out of ModEngine and into the API so that internal modifier can work.

Loading and registering block.
Refactored some loops to use Linq.