Bug fixes

- Connection string setting is now applied
- MasterNamespace setting is now applied
- Fixed conversion bug in Class.tt. .NET cannot unbox to nullable types.