Add ability to halt plug stacks

Tests randomly failed with "plug must implement call/2" until I added Code.ensure_loaded? here