Install require unconditionally.

Currently, require is installed only after loading the main script. Change the
behavior to install require unconditionally so that JavaScriptShellConsole can
use require.

This patch also changes BeyondJavaScriptEngine to take plugin paths as an
argument because JavaScriptShellConsole can't access
BeyondConfiguration.pluginPaths.