Added configuration code

Configuration now supports web.config/app.config, XML, and JSON. Will
need to work to add other options in the future. Also a number of
improvements were made to Dynamo class to make it serializable.