Added fixes suggested in issue #17. Also fixed the assembly build solution to compile... Also added project for the nunit tests.