Get the path from package

Was getting exception because lucenepackage wasnt initialized yet
Add System.Runtime to namepaces

No idea why this is needed, otherwise it couldnt
find type System.Object
Dont allow duplicate package versions