Added DynamicLibrary to stout.

Addition of DynamicLibrary class to stout, to enable future plugins
inside of mesos.

Review: https://reviews.apache.org/r/21013