Minors changes to compil with SharpDevelopp

NUnit dll added
Fix error in italic detection for pdf conversion