Made the nhibernate configurer configurable

Signed-off-by: Richard Williams <silverfox.williams@gmail.com>
Just updated the type generation code from the string in the config file. Of course this is a little hacky, but it was just done quick so we can prove that we can select any database using config file, which can be transformed if required on deployment. #1-4 Fixed