Fixed a couple of bugs

Dynamo object had a bug if it is used prior to IoC container finishes
loading.
Fixed a couple of bugs with creating/updating of database in ORM.
Fixed slight issues with schema generator (needed access to
IBootstrapper object)