Added support for accepting a connection string

Currently, DynamicModel only supports getting a connection string
from a configuration file. The be a little more flexible for other
use cases, an additional constructor was added to allow for supplying
a connection string.