Removes ambiguousness from truth check in JS. The route method will only be invoked in case of a state change (new page view) so we don't have to check against previous state to see if we should save the crumbs or not.
Improves logic for replacing of plugins as well as removes the need for boiler plate code from related future PRs.
Merge pull request #371 from typesafehub/wip/code-plugin-rework-layout-fixes

Wip/code plugin rework layout fixes