Fix AutoloadPlugins

Replace TakeWhile with Where to return all plugins for which onload="true".

Fixes https://issues.apache.org/jira/browse/CB-7858.