Support for building in-tree plugins either statically or dynamically.

Default remains static, one can switch a plugin to dynamic by adding
SET(BRO_PLUGIN_BUILD_DYNAMIC TRUE) to the beginning of its CMakeIndex.txt