PSake refactoring.
Pre-merge.
Merge from frickin death star hell.
Fixed auth and uninstallation of plugins.