Cleanup nuget and add support for pre-release

Most changes should hopefully be self-explanatory.
Deleted a lot of redundant code. Adding new nuget-based sources should be a cinch now.

Let me know if there are any questions.