update to .net 4,
referenced iesi and nhibernate with nuget,
changed same test code to make it compilable (NOT TESTED if works!)